From: Rhyland Klein Date: Tue, 1 Mar 2011 00:55:31 +0000 (-0800) Subject: power_supply: Update power_supply_is_watt_property X-Git-Tag: upstream/snapshot3+hdmi~10803^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35c9d267665230cf44445be616d491d3763a5cd3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Anton Vorontsov --- 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;