diff options
| author | Sudheer Papothi <spapothi@codeaurora.org> | 2016-03-02 06:54:44 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:11:32 -0700 |
| commit | 5854da169b132768c90607f66369d9f534e8ea08 (patch) | |
| tree | dcbe9f4963c8f3cfddd8e04abcdde501c3be0c36 /include/linux | |
| parent | a3ec32e9d0784141a9dfb6147874f165854a92f9 (diff) | |
power_supply: Add battery monitor services enumeration
Battery monitor services enumeration is used by voice and
other subsystem modules. Add the enumeration to support
backward compatibility and to avoid compilation issues.
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/power_supply.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 647d84dd60bb..376645983d3e 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -242,6 +242,12 @@ enum power_supply_notifier_events { PSY_EVENT_PROP_CHANGED, }; +enum vmbms_power_usecase { + VMBMS_IGNORE_ALL_BIT = 1, + VMBMS_VOICE_CALL_BIT = (1 << 4), + VMBMS_STATIC_DISPLAY_BIT = (1 << 5), +}; + union power_supply_propval { int intval; const char *strval; |
