mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
power: supply: rk818-charger: Change charger type to MAINS
To un-confuse userspace. Signed-off-by: Ondrej Jirman <megi@xff.cz>
This commit is contained in:
committed by
Mauro (mdrjr) Ribeiro
parent
e4aa599ca9
commit
d85c17e1bc
@@ -535,7 +535,7 @@ static enum power_supply_property rk818_charger_props[] = {
|
||||
*/
|
||||
static const struct power_supply_desc rk818_charger_desc = {
|
||||
.name = "rk818-charger",
|
||||
.type = POWER_SUPPLY_TYPE_BATTERY,
|
||||
.type = POWER_SUPPLY_TYPE_MAINS,
|
||||
.properties = rk818_charger_props,
|
||||
.num_properties = ARRAY_SIZE(rk818_charger_props),
|
||||
.property_is_writeable = rk818_charger_prop_writeable,
|
||||
|
||||
Reference in New Issue
Block a user