]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/power/intel_mid_battery.c: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Oct 2011 00:42:26 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Oct 2011 07:50:24 +0000 (18:50 +1100)
Seems that nobody's even trying any more.

Cc: Nithish Mahalingam <nithish.mahalingam@intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: Major Lee <major_lee@wistron.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/power/intel_mid_battery.c

index c82088deaa4fe947793de9f679e90ce1908010b6..01fa671ec97f6af9a31bf1a8c39ceef86691617b 100644 (file)
@@ -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);
                        }
                }
        }