summaryrefslogtreecommitdiffstats
path: root/include/linux/power_supply.h
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2008-01-22 18:46:50 +0100
committerLen Brown <len.brown@intel.com>2008-02-05 21:15:50 -0500
commit7c2670bbb53820d0a4fab8d74593eeccd1eef225 (patch)
tree1c6207181694443b0ac0be6b16e446feae527c77 /include/linux/power_supply.h
parent21511abd0a248a3f225d3b611cfabb93124605a7 (diff)
downloadop-kernel-dev-7c2670bbb53820d0a4fab8d74593eeccd1eef225.zip
op-kernel-dev-7c2670bbb53820d0a4fab8d74593eeccd1eef225.tar.gz
ACPI: battery: add sysfs serial number
egrep serial /proc/acpi/battery/BAT0/info serial number: 32090 serial number can tell you from the imminent danger of beeing set on fire. Signed-off-by: maximilian attems <max@stro.at> Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/power_supply.h')
-rw-r--r--include/linux/power_supply.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 5cbf3e3..68ed19c 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -94,6 +94,7 @@ enum power_supply_property {
/* Properties of type `const char *' */
POWER_SUPPLY_PROP_MODEL_NAME,
POWER_SUPPLY_PROP_MANUFACTURER,
+ POWER_SUPPLY_PROP_SERIAL_NUMBER,
};
enum power_supply_type {
OpenPOWER on IntegriCloud