mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
parent
00a588f9d2
commit
5e37195f30
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = µ_batt_dev_pm_ops,
|
||||
|
|
|
|||
Loading…
Reference in a new issue