diff options
author | Nicolas Frattaroli <frattaroli.nicolas@gmail.com> | 2023-06-12 16:36:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-06 14:57:05 +0200 |
commit | c038ebffbb4811ee7d13c208e685ced5da98f2f4 (patch) | |
tree | 690af9b09c143791d47633026382820e7b3d954e | |
parent | 69dd84470b4deed45658f2717aef533ec4ceb43d (diff) | |
download | linux-stable-c038ebffbb4811ee7d13c208e685ced5da98f2f4.tar.gz linux-stable-c038ebffbb4811ee7d13c208e685ced5da98f2f4.tar.bz2 linux-stable-c038ebffbb4811ee7d13c208e685ced5da98f2f4.zip |
power: supply: rk817: Add missing module alias
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@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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 e30ef601d91d..c04b96edcf59 100644 --- a/drivers/power/supply/rk817_charger.c +++ b/drivers/power/supply/rk817_charger.c @@ -1233,3 +1233,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"); |