From: Andrew Morton Date: Wed, 5 Oct 2011 00:42:26 +0000 (+1100) Subject: drivers/power/intel_mid_battery.c: fix build X-Git-Tag: next-20111005~2^2~267 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2ca65752b68fdaf418503e39bc276cd609bbb13a;p=karo-tx-linux.git drivers/power/intel_mid_battery.c: fix build Seems that nobody's even trying any more. Cc: Nithish Mahalingam Cc: Alan Cox Cc: Anton Vorontsov Cc: Major Lee Signed-off-by: Andrew Morton --- diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index c82088deaa4f..01fa671ec97f 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c @@ -314,7 +314,7 @@ static void pmic_battery_read_status(struct pmic_power_module_info *pbi) pbi->batt_health = POWER_SUPPLY_HEALTH_GOOD; if (r8 & PMIC_BATT_CHR_SDCLMT_MASK) { /* PMIC will change charging current automatically */ - pmic_battery_log_event(pbi, BATT_EVENT_DCLMT_EXCPT); + pmic_battery_log_event(BATT_EVENT_DCLMT_EXCPT); } } }