]> 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, 28 Sep 2011 00:49:40 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:07:50 +0000 (16:07 +1000)
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 <>
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);
                        }
                }
        }