summaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply_sysfs.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2009-10-15 12:31:30 +0200
committerLen Brown <len.brown@intel.com>2010-01-15 22:59:21 +0100
commitc955fe8e0bdd7be7a6bc2d49245d570a816f7cc5 (patch)
tree009967d82394c741f98118ed99d0ad19e9aa899a /drivers/power/power_supply_sysfs.c
parentACPI: Battery: Add bit flags (diff)
downloadlinux-c955fe8e0bdd7be7a6bc2d49245d570a816f7cc5.tar.xz
linux-c955fe8e0bdd7be7a6bc2d49245d570a816f7cc5.zip
POWER: Add support for cycle_count
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/power/power_supply_sysfs.c')
-rw-r--r--drivers/power/power_supply_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c
index c790e0c77d4b..ff05e6189768 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -99,6 +99,7 @@ static struct device_attribute power_supply_attrs[] = {
POWER_SUPPLY_ATTR(present),
POWER_SUPPLY_ATTR(online),
POWER_SUPPLY_ATTR(technology),
+ POWER_SUPPLY_ATTR(cycle_count),
POWER_SUPPLY_ATTR(voltage_max),
POWER_SUPPLY_ATTR(voltage_min),
POWER_SUPPLY_ATTR(voltage_max_design),