aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/power_supply.h
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2011-12-01 02:08:33 -0500
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-01-04 00:05:51 -0500
commit9b8872273af6983b246252a6508fa7cf34c69d6e (patch)
treeb9b996c704fe98b46f3e58434f3f70f6171bbb67 /include/linux/power_supply.h
parentce09affc59bca2a1ac1f77b75915fd914fab1f70 (diff)
power_supply: Add "unknown" in power supply type
For the default value of power supply type, "unknown" is added. With default prop value, supply type property can be displayed as default - "Unknown". Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include/linux/power_supply.h')
-rw-r--r--include/linux/power_supply.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 204c18dfdc9e..9c83e04f6a43 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -123,7 +123,8 @@ enum power_supply_property {
123}; 123};
124 124
125enum power_supply_type { 125enum power_supply_type {
126 POWER_SUPPLY_TYPE_BATTERY = 0, 126 POWER_SUPPLY_TYPE_UNKNOWN = 0,
127 POWER_SUPPLY_TYPE_BATTERY,
127 POWER_SUPPLY_TYPE_UPS, 128 POWER_SUPPLY_TYPE_UPS,
128 POWER_SUPPLY_TYPE_MAINS, 129 POWER_SUPPLY_TYPE_MAINS,
129 POWER_SUPPLY_TYPE_USB, /* Standard Downstream Port */ 130 POWER_SUPPLY_TYPE_USB, /* Standard Downstream Port */