diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-05-19 14:02:03 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-05-19 21:12:38 +0300 |
commit | e1bc819bee3e990d3581f8591b69d33898f3109c (patch) | |
tree | 3f1f90288689da68ff34a97654a6a5fb9aed2840 /drivers/gpu/drm/pl111 | |
parent | 032838f9cb4014af8a974374db9e2ce6f3aa8d3b (diff) | |
download | linux-e1bc819bee3e990d3581f8591b69d33898f3109c.tar.xz |
drm/pl111: make structure pl111_display_funcs static
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
Diffstat (limited to 'drivers/gpu/drm/pl111')
-rw-r--r-- | drivers/gpu/drm/pl111/pl111_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c index fbf8fbec6c16..3e0a4fa73ddb 100644 --- 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, |