aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/execlist.c
diff options
context:
space:
mode:
authorDu, Changbin <changbin.du@intel.com>2016-10-20 14:08:47 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2016-10-20 17:31:36 +0800
commit999ccb4017c2c818afae18a90060385ec1db903b (patch)
treea05794fd77cb0393f65d300a42baff58d28e673f /drivers/gpu/drm/i915/gvt/execlist.c
parentdrm/i915/gvt: fix sparse warnings on different address spaces (diff)
downloadlinux-dev-999ccb4017c2c818afae18a90060385ec1db903b.tar.xz
linux-dev-999ccb4017c2c818afae18a90060385ec1db903b.zip
drm/i915/gvt: mark symbols static where possible
Mark all local functions & variables as static. Signed-off-by: Du, Changbin <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/execlist.c')
-rw-r--r--drivers/gpu/drm/i915/gvt/execlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/execlist.c b/drivers/gpu/drm/i915/gvt/execlist.c
index 0e9b340897e3..d251ca5d173c 100644
--- a/drivers/gpu/drm/i915/gvt/execlist.c
+++ b/drivers/gpu/drm/i915/gvt/execlist.c
@@ -623,7 +623,7 @@ static int prepare_mm(struct intel_vgpu_workload *workload)
(list_empty(q) ? NULL : container_of(q->prev, \
struct intel_vgpu_workload, list))
-bool submit_context(struct intel_vgpu *vgpu, int ring_id,
+static bool submit_context(struct intel_vgpu *vgpu, int ring_id,
struct execlist_ctx_descriptor_format *desc,
bool emulate_schedule_in)
{