summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-08-08 19:00:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-22 11:45:23 +0200
commitfe6cdaa9ad3c8bae5829bbc52aa1b0871d91b0fd (patch)
treec13f42e486e2fa48a3da444a787c966b44e47ce8
parent0a3be6a03a1cea8a02af944087d81b86a32a3941 (diff)
downloadlinux-stable-fe6cdaa9ad3c8bae5829bbc52aa1b0871d91b0fd.tar.gz
linux-stable-fe6cdaa9ad3c8bae5829bbc52aa1b0871d91b0fd.tar.bz2
linux-stable-fe6cdaa9ad3c8bae5829bbc52aa1b0871d91b0fd.zip
rtc: tps65910: Correct driver module alias
commit 8d448fa0a8bb1c8d94eef7647edffe9ac81a281e upstream. 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: stable@vger.kernel.org Reported-by: Anton Bambura <jenneron@protonmail.com> Tested-by: Anton Bambura <jenneron@protonmail.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210808160030.8556-1-digetx@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 a56b526db89a..33c56a1d3456 100644
--- a/drivers/rtc/rtc-tps65910.c
+++ b/drivers/rtc/rtc-tps65910.c
@@ -480,6 +480,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 <vbyravarasu@nvidia.com>");
MODULE_LICENSE("GPL");