[PATCH] rtc: Make rtc-ds1553 driver hotplug-aware (take 3)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <a.zummo@...>
Cc: <linux-kernel@...>, <rtc-linux@...>, <dbrownell@...>
Date: Sunday, August 19, 2007 - 9:32 am

The rtc-ds1553 platform driver name doesn't match its module name,
which might prevent it from properly hotplugging.  This driver has no
in-tree users.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
The "take 2" of this patch was just a typo-fix ("1553" vs. "1742").

diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c
index 46da571..a4bcb34 100644
--- a/drivers/rtc/rtc-ds1553.c
+++ b/drivers/rtc/rtc-ds1553.c
@@ -395,7 +395,7 @@ static struct platform_driver ds1553_rtc_driver = {
 	.probe		= ds1553_rtc_probe,
 	.remove		= __devexit_p(ds1553_rtc_remove),
 	.driver		= {
-		.name	= "ds1553",
+		.name	= "rtc-ds1553",
 		.owner	= THIS_MODULE,
 	},
 };
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] rtc: Make rtc-ds1553 driver hotplug-aware (take 3), Atsushi Nemoto, (Sun Aug 19, 9:32 am)