aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2021-08-08 16:00:30 +0000
committerAlexandre Belloni <[email protected]>2021-08-17 21:36:22 +0000
commit8d448fa0a8bb1c8d94eef7647edffe9ac81a281e (patch)
tree38bd8d98a88528433adc2423c24132ec554b3853
parentrtc: move RTC_LIB_KUNIT_TEST to proper location (diff)
downloadkernel-8d448fa0a8bb1c8d94eef7647edffe9ac81a281e.tar.gz
kernel-8d448fa0a8bb1c8d94eef7647edffe9ac81a281e.zip
rtc: tps65910: Correct driver module alias
The TPS65910 RTC driver module doesn't auto-load because of the wrong module alias that doesn't match the device name, fix it. Cc: [email protected] Reported-by: Anton Bambura <[email protected]> Tested-by: Anton Bambura <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/rtc/rtc-tps65910.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c
index bc89c62ccb9b..75e4c2d777b9 100644
--- a/drivers/rtc/rtc-tps65910.c
+++ b/drivers/rtc/rtc-tps65910.c
@@ -467,6 +467,6 @@ static struct platform_driver tps65910_rtc_driver = {
};
module_platform_driver(tps65910_rtc_driver);
-MODULE_ALIAS("platform:rtc-tps65910");
+MODULE_ALIAS("platform:tps65910-rtc");
MODULE_AUTHOR("Venu Byravarasu <[email protected]>");
MODULE_LICENSE("GPL");