aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1742.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-10-16 04:28:18 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:13 -0400
commita95e23a27b33db5d5f40278b16a42e5e20188015 (patch)
treefac6e7b1d72f390b6c2c3de9e2020acc6c16563c /drivers/rtc/rtc-ds1742.c
parente7634c271a1cb460ba3a09b47ecc246c11a66cee (diff)
rtc: make rtc-ds1742 driver hotplug-aware
The rtc-ds1742 platform driver name doesn't match its module name, which might prevents it from properly hotplugging. There is only two in-tree user of its driver, which are fixed by this patch too. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1742.c')
-rw-r--r--drivers/rtc/rtc-ds1742.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c
index 67291b0f8283..c535b78698e2 100644
--- a/drivers/rtc/rtc-ds1742.c
+++ b/drivers/rtc/rtc-ds1742.c
@@ -251,7 +251,7 @@ static struct platform_driver ds1742_rtc_driver = {
251 .probe = ds1742_rtc_probe, 251 .probe = ds1742_rtc_probe,
252 .remove = __devexit_p(ds1742_rtc_remove), 252 .remove = __devexit_p(ds1742_rtc_remove),
253 .driver = { 253 .driver = {
254 .name = "ds1742", 254 .name = "rtc-ds1742",
255 .owner = THIS_MODULE, 255 .owner = THIS_MODULE,
256 }, 256 },
257}; 257};