aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-07-28 09:14:21 -0400
committerSebastian Reichel <sre@kernel.org>2014-07-28 09:36:29 -0400
commit5e37195f30cc31e6a1052cbc282254e127c1b8c7 (patch)
tree660816392d485cd9039e511894b27f09a240b273
parent00a588f9d27fc64f0c64dcd4abc8e35ed331afb8 (diff)
ipaq_micro_battery: fix sparse non static symbol warning
Fixes the following sparse warnings: drivers/power/ipaq_micro_battery.c:278:24: warning: symbol 'micro_batt_device_driver' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Sebastian Reichel <sre@kernel.org>
-rw-r--r--drivers/power/ipaq_micro_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/ipaq_micro_battery.c b/drivers/power/ipaq_micro_battery.c
index 54632eabf420..9d694605cdb7 100644
--- a/drivers/power/ipaq_micro_battery.c
+++ b/drivers/power/ipaq_micro_battery.c
@@ -275,7 +275,7 @@ static const struct dev_pm_ops micro_batt_dev_pm_ops = {
275 SET_SYSTEM_SLEEP_PM_OPS(micro_batt_suspend, micro_batt_resume) 275 SET_SYSTEM_SLEEP_PM_OPS(micro_batt_suspend, micro_batt_resume)
276}; 276};
277 277
278struct platform_driver micro_batt_device_driver = { 278static struct platform_driver micro_batt_device_driver = {
279 .driver = { 279 .driver = {
280 .name = "ipaq-micro-battery", 280 .name = "ipaq-micro-battery",
281 .pm = &micro_batt_dev_pm_ops, 281 .pm = &micro_batt_dev_pm_ops,