projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
032838f
)
drm/pl111: make structure pl111_display_funcs static
author
Colin Ian King
<colin.king@canonical.com>
Fri, 19 May 2017 11:02:03 +0000
(12:02 +0100)
committer
Eric Anholt
<eric@anholt.net>
Fri, 19 May 2017 18:12:38 +0000
(11:12 -0700)
structure pl111_display_funcs can be made static as it does not need to be
in global scope. Fixes sparse warning:
"warning: symbol 'pl111_display_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/20170519110203.19417-1-colin.king@canonical.com
drivers/gpu/drm/pl111/pl111_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/pl111/pl111_display.c
b/drivers/gpu/drm/pl111/pl111_display.c
index
fbf8fbe
..
3e0a4fa
100644
(file)
--- a/
drivers/gpu/drm/pl111/pl111_display.c
+++ b/
drivers/gpu/drm/pl111/pl111_display.c
@@
-288,7
+288,7
@@
static int pl111_display_prepare_fb(struct drm_simple_display_pipe *pipe,
return drm_fb_cma_prepare_fb(&pipe->plane, plane_state);
}
-const struct drm_simple_display_pipe_funcs pl111_display_funcs = {
+
static
const struct drm_simple_display_pipe_funcs pl111_display_funcs = {
.check = pl111_display_check,
.enable = pl111_display_enable,
.disable = pl111_display_disable,