diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-28 17:15:24 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2014-07-29 21:57:20 +0400 |
commit | e661c8978e4833d4148d08b405a2f3175d6f97d9 (patch) | |
tree | 875a66503014243c8b5f5ee044cbd85bf74cad21 /drivers/leds/leds-ipaq-micro.c | |
parent | 4da498fc65de321682396401393340fef5b9c2f6 (diff) | |
download | linux-e661c8978e4833d4148d08b405a2f3175d6f97d9.tar.xz |
leds: ipaq-micro: fix sparse non static symbol warning
Fixes the following sparse warnings:
drivers/leds/leds-ipaq-micro.c:130:24: warning:
symbol 'micro_leds_device_driver' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-ipaq-micro.c')
-rw-r--r-- | drivers/leds/leds-ipaq-micro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ipaq-micro.c b/drivers/leds/leds-ipaq-micro.c index 3210a47f0812..3776f516cd88 100644 --- a/drivers/leds/leds-ipaq-micro.c +++ b/drivers/leds/leds-ipaq-micro.c @@ -127,7 +127,7 @@ static int micro_leds_remove(struct platform_device *pdev) return 0; } -struct platform_driver micro_leds_device_driver = { +static struct platform_driver micro_leds_device_driver = { .driver = { .name = "ipaq-micro-leds", }, |