summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1553.c
diff options
context:
space:
mode:
authorAtsushi Nemoto2007-10-16 10:28:17 +0200
committerLinus Torvalds2007-10-16 18:43:13 +0200
commite7634c271a1cb460ba3a09b47ecc246c11a66cee (patch)
tree56bb70879182db1341c9eb53edf8eb1d7c62ee6e /drivers/rtc/rtc-ds1553.c
parentrtc-dev: no need to convert file->private_data to rtc device (diff)
downloadkernel-qcow2-linux-e7634c271a1cb460ba3a09b47ecc246c11a66cee.tar.gz
kernel-qcow2-linux-e7634c271a1cb460ba3a09b47ecc246c11a66cee.tar.xz
kernel-qcow2-linux-e7634c271a1cb460ba3a09b47ecc246c11a66cee.zip
rtc: make rtc-ds1553 driver hotplug-aware
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> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
-rw-r--r--drivers/rtc/rtc-ds1553.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c
index 5ab3492817d1..bb53c09bad16 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,
},
};