X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Flinux%2Fpower_supply.h;h=204c18dfdc9e839a378cfd4200342784c22be5b7;hb=770b31a85e000b0194974922f238a30ade4246b6;hp=e3419fc5541e012b01d46ca6c7783bd4e8427cd2;hpb=51d07566045787b99219d809639c8724506fc78a;p=cascardo%2Flinux.git diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index e3419fc5541e..204c18dfdc9e 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -173,6 +173,8 @@ struct power_supply { char *full_trig_name; struct led_trigger *online_trig; char *online_trig_name; + struct led_trigger *charging_blink_full_solid_trig; + char *charging_blink_full_solid_trig_name; #endif }; @@ -249,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;