From 87464cdba2aeec196e75908fbbeaf4a26753637a Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Wed, 30 Jul 2014 07:20:30 +0800 Subject: 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 --- drivers/video/backlight/ipaq_micro_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/video') 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", }, -- cgit v1.2.3