]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: make structure intel_sprite_plane_funcs static
authorColin Ian King <colin.king@canonical.com>
Fri, 11 Aug 2017 13:49:38 +0000 (14:49 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Aug 2017 16:06:19 +0000 (18:06 +0200)
commitb417bf0b92df2cad5d54752522e2b5bc0d9c15d0
tree8434e7b4412d3b2f5fe80287c26040c1b3b729cf
parentd8e8c4488aa56ae8998b491d94f05bd924cf6ce5
drm/i915: make structure intel_sprite_plane_funcs static

The structure intel_sprite_plane_funcs is local to the source
and does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'intel_sprite_plane_funcs' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170811134938.4183-1-colin.king@canonical.com
drivers/gpu/drm/i915/intel_sprite.c