summaryrefslogtreecommitdiff
path: root/include/linux/power_supply.h
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2011-02-28 16:55:31 -0800
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-03-01 22:27:26 +0300
commit35c9d267665230cf44445be616d491d3763a5cd3 (patch)
tree34d67bfff82ddab61945a66c88cde83083e797c6 /include/linux/power_supply.h
parentff28fcef1bedcfbdf49500fee1573dc2f3eedb22 (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>
Diffstat (limited to 'include/linux/power_supply.h')
-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 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;