summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2016-05-10 17:03:56 +0100
committerMark Yao <mark.yao@rock-chips.com>2016-07-19 09:42:19 +0800
commit8ff490ae42b154633735d5135321845687e47f7a (patch)
tree8007d0749f4482792363aef6b5650b5665261319 /drivers/gpu/drm/rockchip/rockchip_vop_reg.c
parenta7e03fb537b42bb598a18ef0d66b5f1b1a99bae3 (diff)
downloadlinux-8ff490ae42b154633735d5135321845687e47f7a.tar.gz
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_vop_reg.c')
-rw-r--r--drivers/gpu/drm/rockchip/rockchip_vop_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
index 3166b46a5893..52661d116ec2 100644
--- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
+++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
@@ -299,7 +299,7 @@ static int vop_remove(struct platform_device *pdev)
return 0;
}
-struct platform_driver vop_platform_driver = {
+static struct platform_driver vop_platform_driver = {
.probe = vop_probe,
.remove = vop_remove,
.driver = {