diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-02-05 17:05:38 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-02-06 16:57:36 +0100 |
commit | c5a828148f302c72a137af7f5487a4e52f19f4c9 (patch) | |
tree | 8243ca5fa81af80dbfc7c32e850d822451df2338 /drivers/gpu/drm/mxsfb | |
parent | drm: mxsfb: fix error return code in mxsfb_load() (diff) | |
download | linux-c5a828148f302c72a137af7f5487a4e52f19f4c9.tar.xz linux-c5a828148f302c72a137af7f5487a4e52f19f4c9.zip |
drm: mxsfb: Make local symbol mxsfb_funcs static
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
Diffstat (limited to 'drivers/gpu/drm/mxsfb')
-rw-r--r-- | drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c b/drivers/gpu/drm/mxsfb/mxsfb_drv.c index 28a75cb155f7..8112295a205b 100644 --- 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 = { +static struct drm_simple_display_pipe_funcs mxsfb_funcs = { .enable = mxsfb_pipe_enable, .disable = mxsfb_pipe_disable, .update = mxsfb_pipe_update, |