diff --git a/drivers/power/supply/cw2015_battery.c b/drivers/power/supply/cw2015_battery.c index 8603da6f459309f371fbf9ca9324fef2d3d48f3c..19f62ea957ee17489e2854004d3148c08a165d4b 100644 --- a/drivers/power/supply/cw2015_battery.c +++ b/drivers/power/supply/cw2015_battery.c @@ -93,7 +93,7 @@ static int cw_read_word(struct cw_battery *cw_bat, u8 reg, u16 *val) return 0; } -int cw_update_profile(struct cw_battery *cw_bat) +static int cw_update_profile(struct cw_battery *cw_bat) { int ret; unsigned int reg_val; @@ -709,7 +709,7 @@ static int __maybe_unused cw_bat_resume(struct device *dev) return 0; } -SIMPLE_DEV_PM_OPS(cw_bat_pm_ops, cw_bat_suspend, cw_bat_resume); +static SIMPLE_DEV_PM_OPS(cw_bat_pm_ops, cw_bat_suspend, cw_bat_resume); static int cw_bat_remove(struct i2c_client *client) {