projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da498f
)
leds: ipaq-micro: fix sparse non static symbol warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Mon, 28 Jul 2014 13:15:24 +0000
(06:15 -0700)
committer
Bryan Wu
<cooloney@gmail.com>
Tue, 29 Jul 2014 17:57:20 +0000
(10:57 -0700)
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>
drivers/leds/leds-ipaq-micro.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/leds/leds-ipaq-micro.c
b/drivers/leds/leds-ipaq-micro.c
index 3210a47f0812f8d994a0c3c34e38f4f937f7d13c..3776f516cd88f80541affad80ce4dcb25963152c 100644
(file)
--- 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 = {
+st
atic st
ruct platform_driver micro_leds_device_driver = {
.driver = {
.name = "ipaq-micro-leds",
},