diff options
Diffstat (limited to 'drivers/power/power_supply_sysfs.c')
-rw-r--r-- | drivers/power/power_supply_sysfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/power/power_supply_sysfs.c b/drivers/power/power_supply_sysfs.c index bab591ba785a..d4824840c5bf 100644 --- a/drivers/power/power_supply_sysfs.c +++ b/drivers/power/power_supply_sysfs.c | |||
@@ -48,7 +48,8 @@ static ssize_t power_supply_show_property(struct device *dev, | |||
48 | "Unspecified failure" | 48 | "Unspecified failure" |
49 | }; | 49 | }; |
50 | static char *technology_text[] = { | 50 | static char *technology_text[] = { |
51 | "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe", "NiCd" | 51 | "Unknown", "NiMH", "Li-ion", "Li-poly", "LiFe", "NiCd", |
52 | "LiMn" | ||
52 | }; | 53 | }; |
53 | ssize_t ret; | 54 | ssize_t ret; |
54 | struct power_supply *psy = dev_get_drvdata(dev); | 55 | struct power_supply *psy = dev_get_drvdata(dev); |
@@ -84,6 +85,8 @@ static struct device_attribute power_supply_attrs[] = { | |||
84 | POWER_SUPPLY_ATTR(present), | 85 | POWER_SUPPLY_ATTR(present), |
85 | POWER_SUPPLY_ATTR(online), | 86 | POWER_SUPPLY_ATTR(online), |
86 | POWER_SUPPLY_ATTR(technology), | 87 | POWER_SUPPLY_ATTR(technology), |
88 | POWER_SUPPLY_ATTR(voltage_max), | ||
89 | POWER_SUPPLY_ATTR(voltage_min), | ||
87 | POWER_SUPPLY_ATTR(voltage_max_design), | 90 | POWER_SUPPLY_ATTR(voltage_max_design), |
88 | POWER_SUPPLY_ATTR(voltage_min_design), | 91 | POWER_SUPPLY_ATTR(voltage_min_design), |
89 | POWER_SUPPLY_ATTR(voltage_now), | 92 | POWER_SUPPLY_ATTR(voltage_now), |