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:
e6cf7e9
)
drm: mxsfb: Make local symbol mxsfb_funcs static
author
Wei Yongjun
<weiyongjun1@huawei.com>
Sun, 5 Feb 2017 16:05:38 +0000
(16:05 +0000)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 6 Feb 2017 15:57:36 +0000
(16:57 +0100)
Fixes the following sparse warning:
drivers/gpu/drm/mxsfb/mxsfb_drv.c:129:38: warning:
symbol 'mxsfb_funcs' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/20170205160538.16594-1-weiyj.lk@gmail.com
drivers/gpu/drm/mxsfb/mxsfb_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/mxsfb/mxsfb_drv.c
b/drivers/gpu/drm/mxsfb/mxsfb_drv.c
index 28a75cb155f73b35ec4b98c26595a750fa2457e2..8112295a205ba384495ee441b355da86d07d8c57 100644
(file)
--- a/
drivers/gpu/drm/mxsfb/mxsfb_drv.c
+++ b/
drivers/gpu/drm/mxsfb/mxsfb_drv.c
@@
-126,7
+126,7
@@
static int mxsfb_pipe_prepare_fb(struct drm_simple_display_pipe *pipe,
return drm_fb_cma_prepare_fb(&pipe->plane, plane_state);
}
-struct drm_simple_display_pipe_funcs mxsfb_funcs = {
+st
atic st
ruct drm_simple_display_pipe_funcs mxsfb_funcs = {
.enable = mxsfb_pipe_enable,
.disable = mxsfb_pipe_disable,
.update = mxsfb_pipe_update,