From: Wei Yongjun Date: Tue, 29 Jul 2014 23:20:30 +0000 (+0800) Subject: backlight: ipaq_micro: Fix sparse non static symbol warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=87464cdba2aeec196e75908fbbeaf4a26753637a;p=linux-beck.git 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 Acked-by: Bryan Wu Signed-off-by: Lee Jones --- 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", },