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

From: Atsushi Nemoto
Date: Sun Aug 19 2007 - 09:31:37 EST


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@xxxxxxxxxxxxx>
---
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,
},
};
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/