aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrey Smirnov <[email protected]>2019-05-03 10:00:40 -0700
committerSebastian Reichel <[email protected]>2019-05-03 22:15:51 +0200
commite3e83cc601e57aeeea212e1cc37ff9a7ad584aae (patch)
tree470b926ad67754e507544a233ac33f9c60a866ad /include/linux
parentcaee28498ec35f0320a1b1eabbdfa3563cccdf4b (diff)
power: supply: core: Add POWER_SUPPLY_HEALTH_OVERCURRENT constant
Add POWER_SUPPLY_HEALTH_OVERCURRENT constant in order to allow singalling overcurrent condition via power supply health information. Signed-off-by: Andrey Smirnov <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Cc: Enric Balletbo Serra <[email protected]> Cc: Chris Healy <[email protected]> Cc: Lucas Stach <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'include/linux')
-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 d59205170232..d9c0c094f8a0 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -61,6 +61,7 @@ enum {
POWER_SUPPLY_HEALTH_COLD,
POWER_SUPPLY_HEALTH_WATCHDOG_TIMER_EXPIRE,
POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE,
+ POWER_SUPPLY_HEALTH_OVERCURRENT,
};
enum {