rtc: make rtc-ds1553 driver hotplug-aware
authorAtsushi Nemoto <[email protected]>
Tue, 16 Oct 2007 08:28:17 +0000 (01:28 -0700)
committerLinus Torvalds <[email protected]>
Tue, 16 Oct 2007 16:43:13 +0000 (09:43 -0700)
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 <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-ds1553.c

index 5ab3492817d16b0574202380b9ddb2a394042ba5..bb53c09bad169beb8427755a3de4e0aaf665dbf7 100644 (file)
@@ -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,
        },
 };