diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-08-19 22:32:10 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-08-27 02:16:58 +0100 |
commit | 9f90a03a7f93be7f247aa902a7d962a56a6f600e (patch) | |
tree | 9fa2ef21f8ab22b849e5519102be2d2653d17b68 /drivers/rtc | |
parent | c99dcac435cec7aca313638db2f1bc406f29210b (diff) | |
download | linux-3.10-9f90a03a7f93be7f247aa902a7d962a56a6f600e.tar.gz linux-3.10-9f90a03a7f93be7f247aa902a7d962a56a6f600e.tar.bz2 linux-3.10-9f90a03a7f93be7f247aa902a7d962a56a6f600e.zip |
[PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware
The rtc-rs5c348 SPI driver name doesn't match its module name, which
prevents it from properly hotplugging. There is only one in-tree user
of its driver, which is fixed by this patch too.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-rs5c348.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rs5c348.c b/drivers/rtc/rtc-rs5c348.c index f50f3fc353c..839462659af 100644 --- a/drivers/rtc/rtc-rs5c348.c +++ b/drivers/rtc/rtc-rs5c348.c @@ -226,7 +226,7 @@ static int __devexit rs5c348_remove(struct spi_device *spi) static struct spi_driver rs5c348_driver = { .driver = { - .name = "rs5c348", + .name = "rtc-rs5c348", .bus = &spi_bus_type, .owner = THIS_MODULE, }, |