Messages in this thread Patch in this message | | | From | rklein@nvidia ... | Subject | [PATCH 4/4] power_supply: update power_supply_is_watt_property | Date | Mon, 28 Feb 2011 16:55:31 -0800 |
| |
From: Rhyland Klein <rklein@nvidia.com>
Update the power_supply_is_watt_property function to include POWER_NOW.
Signed-off-by: Rhyland Klein <rklein@nvidia.com> --- 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 20f23fe..204c18d 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; -- 1.7.0.4
| |