summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2016-05-10 19:03:56 +0300
committerMark Yao <mark.yao@rock-chips.com>2016-07-19 04:42:19 +0300
commit8ff490ae42b154633735d5135321845687e47f7a (patch)
tree8007d0749f4482792363aef6b5650b5665261319 /drivers/gpu/drm/rockchip/rockchip_drm_fb.c
parenta7e03fb537b42bb598a18ef0d66b5f1b1a99bae3 (diff)
downloadlinux-8ff490ae42b154633735d5135321845687e47f7a.tar.xz
drm/rockchip: fix "should it be static?" warnings
Combined with the previous commit, this fixes all of the sparse warnings in drm/rockchip. Signed-off-by: John Keeping <john@metanate.com>
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_fb.c')
-rw-r--r--drivers/gpu/drm/rockchip/rockchip_drm_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
index 4fe2ab3f5ca9..b33debc0fa92 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
@@ -246,7 +246,7 @@ rockchip_atomic_commit_tail(struct drm_atomic_state *state)
drm_atomic_helper_cleanup_planes(dev, state);
}
-struct drm_mode_config_helper_funcs rockchip_mode_config_helpers = {
+static struct drm_mode_config_helper_funcs rockchip_mode_config_helpers = {
.atomic_commit_tail = rockchip_atomic_commit_tail,
};