diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-30 07:20:30 +0800 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-31 10:31:22 +0100 |
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) return 0; } -struct platform_driver micro_backlight_device_driver = { +static struct platform_driver micro_backlight_device_driver = { .driver = { .name = "ipaq-micro-backlight", }, |