Skip to content

Commit

Permalink
ipaq_micro_battery: fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Sebastian Reichel committed Jul 28, 2014
1 parent 00a588f commit 5e37195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/ipaq_micro_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static const struct dev_pm_ops micro_batt_dev_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(micro_batt_suspend, micro_batt_resume)
};

struct platform_driver micro_batt_device_driver = {
static struct platform_driver micro_batt_device_driver = {
.driver = {
.name = "ipaq-micro-battery",
.pm = &micro_batt_dev_pm_ops,
Expand Down

0 comments on commit 5e37195

Please sign in to comment.