Skip to content

Commit

Permalink
power_supply: Update power_supply_is_watt_property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rhyland Klein authored and Anton Vorontsov committed Mar 1, 2011
1 parent ff28fce commit 35c9d26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/power_supply.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 35c9d26

Please sign in to comment.