diff options
author | Rhyland Klein <rklein@nvidia.com> | 2011-02-28 19:55:31 -0500 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-03-01 14:27:26 -0500 |
commit | 35c9d267665230cf44445be616d491d3763a5cd3 (patch) | |
tree | 34d67bfff82ddab61945a66c88cde83083e797c6 | |
parent | ff28fcef1bedcfbdf49500fee1573dc2f3eedb22 (diff) |
power_supply: Update power_supply_is_watt_property
Update the power_supply_is_watt_property function to include POWER_NOW.
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
-rw-r--r-- | include/linux/power_supply.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 20f23fef63cc..204c18dfdc9e 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h | |||
@@ -251,6 +251,7 @@ static inline bool power_supply_is_watt_property(enum power_supply_property psp) | |||
251 | case POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN: | 251 | case POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN: |
252 | case POWER_SUPPLY_PROP_VOLTAGE_NOW: | 252 | case POWER_SUPPLY_PROP_VOLTAGE_NOW: |
253 | case POWER_SUPPLY_PROP_VOLTAGE_AVG: | 253 | case POWER_SUPPLY_PROP_VOLTAGE_AVG: |
254 | case POWER_SUPPLY_PROP_POWER_NOW: | ||
254 | return 1; | 255 | return 1; |
255 | default: | 256 | default: |
256 | break; | 257 | break; |