summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-06 13:31:12 +0530
committerAnton Vorontsov <anton@enomsg.org>2013-10-25 15:36:52 -0700
commit83bd57aeb06b1d6db2729082dd90a0286f3e3674 (patch)
treec2f3ab53aec4208945b9eff64153e126c532026b /drivers/power
parent508b2c13499aa459ff34123ec5641a72ca46777c (diff)
downloadlinux-83bd57aeb06b1d6db2729082dd90a0286f3e3674.tar.gz
linux-83bd57aeb06b1d6db2729082dd90a0286f3e3674.tar.bz2
linux-83bd57aeb06b1d6db2729082dd90a0286f3e3674.zip
pm2301-charger: Staticize pm2xxx_charger_die_therm_mngt
pm2xxx_charger_die_therm_mngt is used only in this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/pm2301_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pm2301_charger.c b/drivers/power/pm2301_charger.c
index 7214b667f940..b733c692a17f 100644
--- a/drivers/power/pm2301_charger.c
+++ b/drivers/power/pm2301_charger.c
@@ -205,7 +205,7 @@ static int pm2xxx_charger_batt_therm_mngt(struct pm2xxx_charger *pm2, int val)
}
-int pm2xxx_charger_die_therm_mngt(struct pm2xxx_charger *pm2, int val)
+static int pm2xxx_charger_die_therm_mngt(struct pm2xxx_charger *pm2, int val)
{
queue_work(pm2->charger_wq, &pm2->check_main_thermal_prot_work);