Linux RTC
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH] rtc: rename so the tps6586x-rtc module can be autoloaded at boot
@ 2016-05-10 10:26 Nicolas Chauvet
  2016-05-10 15:43 ` [rtc-linux] " Stephen Warren
  2016-05-11 14:58 ` Alexandre Belloni
  0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Chauvet @ 2016-05-10 10:26 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, rtc-linux
  Cc: linux-omap, linux-tegra, Nicolas Chauvet

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.

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
---
 drivers/rtc/rtc-tps6586x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-tps6586x.c b/drivers/rtc/rtc-tps6586x.c
index e404faa..a3418a8 100644
--- a/drivers/rtc/rtc-tps6586x.c
+++ b/drivers/rtc/rtc-tps6586x.c
@@ -344,7 +344,7 @@ static struct platform_driver tps6586x_rtc_driver = {
 };
 module_platform_driver(tps6586x_rtc_driver);
 
-MODULE_ALIAS("platform:rtc-tps6586x");
+MODULE_ALIAS("platform:tps6586x-rtc");
 MODULE_DESCRIPTION("TI TPS6586x RTC driver");
 MODULE_AUTHOR("Laxman dewangan <ldewangan@nvidia.com>");
 MODULE_LICENSE("GPL v2");
-- 
2.4.11

-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-11 14:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10 10:26 [rtc-linux] [PATCH] rtc: rename so the tps6586x-rtc module can be autoloaded at boot Nicolas Chauvet
2016-05-10 15:43 ` [rtc-linux] " Stephen Warren
2016-05-10 21:36   ` Nicolas Chauvet
2016-05-10 21:44   ` Nicolas Chauvet
2016-05-10 23:02     ` Stephen Warren
2016-05-11 14:58 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox