diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/power_supply.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 204c18dfdc9e..b13bb89e0873 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -207,7 +207,9 @@ extern int power_supply_is_system_supplied(void); #else static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } #endif - +extern int power_supply_get_supplier_property(struct power_supply *psy, + enum power_supply_property psp, + union power_supply_propval *val); extern int power_supply_register(struct device *parent, struct power_supply *psy); extern void power_supply_unregister(struct power_supply *psy); |