[PATCH 6.5 309/321] power: supply: rk817: Add missing module alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



6.5-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Nicolas Frattaroli <frattaroli.nicolas@xxxxxxxxx>

commit cbcdfbf5a6cd66e47e5ee5d49c4c5a27a07ba082 upstream.

Similar to the rk817 codec alias that was missing, the rk817 charger
driver is missing a module alias as well. This absence prevents the
driver from autoprobing on OF systems when it is built as a module.

Add the right MODULE_ALIAS to fix this.

Fixes: 11cb8da0189b ("power: supply: Add charger driver for Rockchip RK817")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@xxxxxxxxx>
Reviewed-by: Chris Morgan <macromorgan@xxxxxxxxxxx>
Link: https://lore.kernel.org/r/20230612143651.959646-2-frattaroli.nicolas@xxxxxxxxx
Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/power/supply/rk817_charger.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/power/supply/rk817_charger.c
+++ b/drivers/power/supply/rk817_charger.c
@@ -1220,3 +1220,4 @@ MODULE_DESCRIPTION("Battery power supply
 MODULE_AUTHOR("Maya Matuszczyk <maccraft123mc@xxxxxxxxx>");
 MODULE_AUTHOR("Chris Morgan <macromorgan@xxxxxxxxxxx>");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:rk817-charger");





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux