Skip to content

Commit

Permalink
leds: ipaq-micro: fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and cooloney committed Jul 29, 2014
1 parent 4da498f commit e661c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/leds-ipaq-micro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down

0 comments on commit e661c89

Please sign in to comment.