]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
power: supply: rk817: Add missing module alias
authorNicolas Frattaroli <frattaroli.nicolas@gmail.com>
Mon, 12 Jun 2023 14:36:52 +0000 (16:36 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 14 Sep 2023 15:47:36 +0000 (17:47 +0200)
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@vger.kernel.org
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Reviewed-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20230612143651.959646-2-frattaroli.nicolas@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/rk817_charger.c

index 8328bcea1a29906e38e7d214d79b1ed3cae5972f..c2510078eb2df1b59fcd8f6dcbe214baf502f869 100644 (file)
@@ -1211,3 +1211,4 @@ MODULE_DESCRIPTION("Battery power supply driver for RK817 PMIC");
 MODULE_AUTHOR("Maya Matuszczyk <maccraft123mc@gmail.com>");
 MODULE_AUTHOR("Chris Morgan <macromorgan@hotmail.com>");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:rk817-charger");