hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/linux/power_supply.h
....@@ -476,8 +476,9 @@
476476 int table_len, int temp);
477477 extern void power_supply_changed(struct power_supply *psy);
478478 extern int power_supply_am_i_supplied(struct power_supply *psy);
479
-extern int power_supply_set_input_current_limit_from_supplier(
480
- struct power_supply *psy);
479
+int power_supply_get_property_from_supplier(struct power_supply *psy,
480
+ enum power_supply_property psp,
481
+ union power_supply_propval *val);
481482 extern int power_supply_set_battery_charged(struct power_supply *psy);
482483
483484 #ifdef CONFIG_POWER_SUPPLY