Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f4b77a3 authored by Jeremy Gebben's avatar Jeremy Gebben
Browse files

msm: kgsl: fix stub declaration of kgsl_sync_timeline_create



This function needs to be 'static inline', not just 'static', to
avoid compiler warnings when CONFIG_SYNC is not defined.

Change-Id: Iaca9bc275d2fb8ccde2913137e81edb2d90a804e
Signed-off-by: default avatarJeremy Gebben <jgebben@codeaurora.org>
parent c82fe615
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -52,7 +52,7 @@ static inline int kgsl_add_fence_event(struct kgsl_device *device,
	return -EINVAL;
}

static int kgsl_sync_timeline_create(struct kgsl_context *context)
static inline int kgsl_sync_timeline_create(struct kgsl_context *context)
{
	context->timeline = NULL;
	return 0;