提交 e661c897 编写于 作者: W Wei Yongjun 提交者: Bryan Wu

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: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: NBryan Wu <cooloney@gmail.com>
上级 4da498fc
......@@ -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",
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册