aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Chauvet <kwizart@gmail.com>2016-05-10 06:26:42 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-21 11:07:17 -0400
commitb9ba1eb0336877b9b83556fd30d2becda110fd8c (patch)
treed7f27689647eb0b728d21395e7eaff371d7b25c5
parent814db2bc4c4e19530eae818354dceb861ceb9fb1 (diff)
rtc: tps6586x: rename so module can be autoloaded
This module is loaded by the related mfd driver which has the needed MODULE_DEVICE_TABLE(i2c,...). This patch fix the modalias when the rtc driver is built as a module, so the right name is used. Everything operates correctly when this module is builtin. Fixes: esdc59ed3865 ("rtc: add RTC driver for TPS6586x") Signed-off-by: Nicolas Chauvet <kwizart@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--drivers/rtc/rtc-tps6586x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-tps6586x.c b/drivers/rtc/rtc-tps6586x.c
index e404faac6851..a3418a8a3796 100644
--- a/drivers/rtc/rtc-tps6586x.c
+++ b/drivers/rtc/rtc-tps6586x.c
@@ -344,7 +344,7 @@ static struct platform_driver tps6586x_rtc_driver = {
344}; 344};
345module_platform_driver(tps6586x_rtc_driver); 345module_platform_driver(tps6586x_rtc_driver);
346 346
347MODULE_ALIAS("platform:rtc-tps6586x"); 347MODULE_ALIAS("platform:tps6586x-rtc");
348MODULE_DESCRIPTION("TI TPS6586x RTC driver"); 348MODULE_DESCRIPTION("TI TPS6586x RTC driver");
349MODULE_AUTHOR("Laxman dewangan <ldewangan@nvidia.com>"); 349MODULE_AUTHOR("Laxman dewangan <ldewangan@nvidia.com>");
350MODULE_LICENSE("GPL v2"); 350MODULE_LICENSE("GPL v2");