projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1bc819
)
drm/pl111: make structure mode_config_funcs static
author
Colin Ian King
<colin.king@canonical.com>
Fri, 19 May 2017 11:10:18 +0000
(12:10 +0100)
committer
Eric Anholt
<eric@anholt.net>
Fri, 19 May 2017 18:13:04 +0000
(11:13 -0700)
structure mode_config_funcs can be made static as it does not need to be
in global scope. Fixes sparse warning:
warning: symbol 'mode_config_funcs' was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link:
http://patchwork.freedesktop.org/patch/msgid/20170519111018.19641-1-colin.king@canonical.com
drivers/gpu/drm/pl111/pl111_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/pl111/pl111_drv.c
b/drivers/gpu/drm/pl111/pl111_drv.c
index 9d1467492cb9be3ced230e71b1bedfa8c860a71e..12d085b0aef8c09c0e9d876bc9a278b822839ec4 100644
(file)
--- a/
drivers/gpu/drm/pl111/pl111_drv.c
+++ b/
drivers/gpu/drm/pl111/pl111_drv.c
@@
-72,7
+72,7
@@
#define DRIVER_DESC "DRM module for PL111"
-struct drm_mode_config_funcs mode_config_funcs = {
+st
atic st
ruct drm_mode_config_funcs mode_config_funcs = {
.fb_create = drm_fb_cma_create,
.atomic_check = drm_atomic_helper_check,
.atomic_commit = drm_atomic_helper_commit,