From: Andrew Morton Date: Tue, 8 Nov 2011 00:19:53 +0000 (+1100) Subject: drivers/power/intel_mid_battery.c: fix build X-Git-Tag: next-20111114~2^2~93 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=320dd02526349ca9427dd6af79c80866a3ba16be;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); } } }