aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power')
-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 13399d133b94..c444d6b10c58 100644
--- a/drivers/power/power_supply_sysfs.c
+++ b/drivers/power/power_supply_sysfs.c
@@ -115,6 +115,7 @@ static struct device_attribute power_supply_attrs[] = {
115 /* Properties of type `const char *' */ 115 /* Properties of type `const char *' */
116 POWER_SUPPLY_ATTR(model_name), 116 POWER_SUPPLY_ATTR(model_name),
117 POWER_SUPPLY_ATTR(manufacturer), 117 POWER_SUPPLY_ATTR(manufacturer),
118 POWER_SUPPLY_ATTR(serial_number),
118}; 119};
119 120
120static ssize_t power_supply_show_static_attrs(struct device *dev, 121static ssize_t power_supply_show_static_attrs(struct device *dev,