hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
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