Skip to content

Commit cbcdfbf

Browse files
CounterPillowsre
authored andcommitted
power: supply: rk817: Add missing module alias
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: 11cb8da ("power: supply: Add charger driver for Rockchip RK817") Cc: [email protected] Signed-off-by: Nicolas Frattaroli <[email protected]> Reviewed-by: Chris Morgan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent e350599 commit cbcdfbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/power/supply/rk817_charger.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,3 +1211,4 @@ MODULE_DESCRIPTION("Battery power supply driver for RK817 PMIC");
12111211
MODULE_AUTHOR("Maya Matuszczyk <[email protected]>");
12121212
MODULE_AUTHOR("Chris Morgan <[email protected]>");
12131213
MODULE_LICENSE("GPL");
1214+
MODULE_ALIAS("platform:rk817-charger");

0 commit comments

Comments
 (0)