From 45cf898bb4c8dad48c3cc5c10dc2506523901f46 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Fri, 20 Feb 2004 17:11:23 -0800 Subject: [PATCH] Remove use of "current" identifier in via-pmu Andrew spotted this one, here's the fix: Remove usage of "current" as a variable name and structure member in the battery management code of PowerMac via-pmu and apm-emu drivers --- include/linux/pmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/pmu.h b/include/linux/pmu.h index b97041287312..6d73eada277e 100644 --- a/include/linux/pmu.h +++ b/include/linux/pmu.h @@ -226,7 +226,7 @@ struct pmu_battery_info unsigned int flags; unsigned int charge; /* current charge */ unsigned int max_charge; /* maximum charge */ - signed int current; /* current, positive if charging */ + signed int amperage; /* current, positive if charging */ unsigned int voltage; /* voltage */ unsigned int time_remaining; /* remaining time */ }; -- cgit v1.2.3