diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-29 19:20:30 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-31 05:31:22 -0400 |
commit | 87464cdba2aeec196e75908fbbeaf4a26753637a (patch) | |
tree | 4cfefa44437c430e39de826055f0d579cf3fbef9 /drivers/video/backlight | |
parent | 2188a988bb87db7e2934ed388994e6dd96de4242 (diff) |
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.c | 2 |
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) | |||
70 | return 0; | 70 | return 0; |
71 | } | 71 | } |
72 | 72 | ||
73 | struct platform_driver micro_backlight_device_driver = { | 73 | static struct platform_driver micro_backlight_device_driver = { |
74 | .driver = { | 74 | .driver = { |
75 | .name = "ipaq-micro-backlight", | 75 | .name = "ipaq-micro-backlight", |
76 | }, | 76 | }, |