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>
This commit is contained in:
parent
4da498fc65
commit
e661c8978e
|
@ -127,7 +127,7 @@ static int micro_leds_remove(struct platform_device *pdev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct platform_driver micro_leds_device_driver = {
|
static struct platform_driver micro_leds_device_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "ipaq-micro-leds",
|
.name = "ipaq-micro-leds",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue