summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-07-30 01:20:30 +0200
committerLee Jones <lee.jones@linaro.org>2014-07-31 11:31:22 +0200
commit87464cdba2aeec196e75908fbbeaf4a26753637a (patch)
tree4cfefa44437c430e39de826055f0d579cf3fbef9 /drivers/video/backlight
parentbacklight: Add driver for iPAQ micro backlight (diff)
downloadlinux-87464cdba2aeec196e75908fbbeaf4a26753637a.tar.xz
linux-87464cdba2aeec196e75908fbbeaf4a26753637a.zip
backlight: ipaq_micro: Fix sparse non static symbol warning
Fixes the following sparse warnings: drivers/video/backlight/ipaq_micro_bl.c:73:24: warning: symbol 'micro_backlight_device_driver' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Bryan Wu <cooloney@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/ipaq_micro_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/ipaq_micro_bl.c b/drivers/video/backlight/ipaq_micro_bl.c
index feab29c6b255..347dc11d4ceb 100644
--- a/drivers/video/backlight/ipaq_micro_bl.c
+++ b/drivers/video/backlight/ipaq_micro_bl.c
@@ -70,7 +70,7 @@ static int micro_backlight_probe(struct platform_device *pdev)
return 0;
}
-struct platform_driver micro_backlight_device_driver = {
+static struct platform_driver micro_backlight_device_driver = {
.driver = {
.name = "ipaq-micro-backlight",
},