From: Chris Wilson Date: Wed, 17 Aug 2016 11:09:05 +0000 (+0100) Subject: drm/i915: Mark the static key for movntqda as static X-Git-Tag: MMI-PSA29.97-13-9~5363^2~37^2~1506 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=21aea5cc06667b7e34cf7bd3fc17a1fb2937baa9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/i915: Mark the static key for movntqda as static Silence sparse who warns that the global variable is not declared static. Fixes: 0b1de5d58e19 ("drm/i915: Use SSE4.1 movntdqa to ...") Signed-off-by: Chris Wilson Cc: Akash Goel Cc: Damien Lespiau Cc: Mika Kuoppala Cc: Tvrtko Ursulin Link: http://patchwork.freedesktop.org/patch/msgid/1471432146-5196-1-git-send-email-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin --- diff --git a/drivers/gpu/drm/i915/i915_memcpy.c b/drivers/gpu/drm/i915/i915_memcpy.c index 6f1df0ec8a81..49a079494b68 100644 --- a/drivers/gpu/drm/i915/i915_memcpy.c +++ b/drivers/gpu/drm/i915/i915_memcpy.c @@ -27,7 +27,7 @@ #include "i915_drv.h" -DEFINE_STATIC_KEY_FALSE(has_movntdqa); +static DEFINE_STATIC_KEY_FALSE(has_movntdqa); #ifdef CONFIG_AS_MOVNTDQA static void __memcpy_ntdqa(void *dst, const void *src, unsigned long len)