summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rs5c348.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-08-19 15:32:10 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-08-27 03:16:58 +0200
commit9f90a03a7f93be7f247aa902a7d962a56a6f600e (patch)
tree9fa2ef21f8ab22b849e5519102be2d2653d17b68 /drivers/rtc/rtc-rs5c348.c
parent[MIPS] Fix gcc 3.3 warning. (diff)
downloadlinux-9f90a03a7f93be7f247aa902a7d962a56a6f600e.tar.xz
linux-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 '')
-rw-r--r--drivers/rtc/rtc-rs5c348.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rs5c348.c b/drivers/rtc/rtc-rs5c348.c
index f50f3fc353cd..839462659afa 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,
},