backlight: ipaq_micro: Fix sparse non static symbol warning
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 29 Jul 2014 23:20:30 +0000 (07:20 +0800)
committerLee Jones <lee.jones@linaro.org>
Thu, 31 Jul 2014 09:31:22 +0000 (10:31 +0100)
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>
drivers/video/backlight/ipaq_micro_bl.c

index feab29c..347dc11 100644 (file)
@@ -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",
        },