diff options
author | Rhyland Klein <rklein@nvidia.com> | 2011-03-01 03:55:31 +0300 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-03-01 22:27:26 +0300 |
commit | 35c9d267665230cf44445be616d491d3763a5cd3 (patch) | |
tree | 34d67bfff82ddab61945a66c88cde83083e797c6 /include/linux/power_supply.h | |
parent | ff28fcef1bedcfbdf49500fee1573dc2f3eedb22 (diff) | |
download | linux-35c9d267665230cf44445be616d491d3763a5cd3.tar.xz |
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>
Diffstat (limited to 'include/linux/power_supply.h')
-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) case POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN: case POWER_SUPPLY_PROP_VOLTAGE_NOW: case POWER_SUPPLY_PROP_VOLTAGE_AVG: + case POWER_SUPPLY_PROP_POWER_NOW: return 1; default: break; |