diff options
author | Nicolas Frattaroli <[email protected]> | 2023-06-12 16:36:52 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2023-09-14 17:47:36 +0200 |
commit | cbcdfbf5a6cd66e47e5ee5d49c4c5a27a07ba082 (patch) | |
tree | 9f31514652ce7b3fdd166ee1e601f8ea6e71633b | |
parent | e35059949daa83f8dadf710d0f829ab3c3a72fe2 (diff) |
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: 11cb8da0189b ("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]>
-rw-r--r-- | drivers/power/supply/rk817_charger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/rk817_charger.c b/drivers/power/supply/rk817_charger.c index 8328bcea1a29..c2510078eb2d 100644 --- a/drivers/power/supply/rk817_charger.c +++ b/drivers/power/supply/rk817_charger.c @@ -1211,3 +1211,4 @@ MODULE_DESCRIPTION("Battery power supply driver for RK817 PMIC"); MODULE_AUTHOR("Maya Matuszczyk <[email protected]>"); MODULE_AUTHOR("Chris Morgan <[email protected]>"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:rk817-charger"); |