power: supply: rk818-battery: Use a more propper compatible string

Prefix with vendor name.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
This commit is contained in:
Ondřej Jirman
2021-11-07 19:30:07 +01:00
committed by Mauro (mdrjr) Ribeiro
parent 87cff369a7
commit 1c68b4ebdb

View File

@@ -3339,7 +3339,7 @@ static int rk818_bat_parse_dt(struct rk818_battery *di)
#endif
static const struct of_device_id rk818_battery_of_match[] = {
{.compatible = "rk818-battery",},
{ .compatible = "rockchip,rk818-battery", },
{ },
};
@@ -3565,4 +3565,4 @@ module_exit(battery_exit);
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:rk818-battery");
MODULE_AUTHOR("chenjh<chenjh@rock-chips.com>");
MODULE_AUTHOR("chenjh<chenjh@rock-chips.com>");