From fcc57cd62fa19d916fdcca66df3bbf09ebb62c56 Mon Sep 17 00:00:00 2001 From: Nicholas Troast Date: Sun, 5 Feb 2017 19:44:33 -0800 Subject: power_supply: add CTM_CURRENT_MAX property POWER_SUPPLY_PROP_CTM_CURRENT_MAX is needed by CTM to limit USB input current. Add it. Change-Id: I8aac65a91959300676cf7e1c2685a557f322c509 Signed-off-by: Nicholas Troast --- include/linux/power_supply.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index ee87e77e1b16..41568e45c024 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -240,6 +240,7 @@ enum power_supply_property { POWER_SUPPLY_PROP_PARALLEL_MODE, POWER_SUPPLY_PROP_DIE_HEALTH, POWER_SUPPLY_PROP_CONNECTOR_HEALTH, + POWER_SUPPLY_PROP_CTM_CURRENT_MAX, /* Local extensions of type int64_t */ POWER_SUPPLY_PROP_CHARGE_COUNTER_EXT, /* Properties of type `const char *' */ -- cgit v1.2.3