diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-08-19 09:32:10 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-08-26 21:16:58 -0400 |
commit | 9f90a03a7f93be7f247aa902a7d962a56a6f600e (patch) | |
tree | 9fa2ef21f8ab22b849e5519102be2d2653d17b68 /arch/mips/tx4938/toshiba_rbtx4938 | |
parent | c99dcac435cec7aca313638db2f1bc406f29210b (diff) |
[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 'arch/mips/tx4938/toshiba_rbtx4938')
-rw-r--r-- | arch/mips/tx4938/toshiba_rbtx4938/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c b/arch/mips/tx4938/toshiba_rbtx4938/setup.c index 57f3c705d082..84ebff711e6e 100644 --- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c +++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c | |||
@@ -1115,7 +1115,7 @@ static void __init txx9_spi_init(unsigned long base, int irq) | |||
1115 | static int __init rbtx4938_spi_init(void) | 1115 | static int __init rbtx4938_spi_init(void) |
1116 | { | 1116 | { |
1117 | struct spi_board_info srtc_info = { | 1117 | struct spi_board_info srtc_info = { |
1118 | .modalias = "rs5c348", | 1118 | .modalias = "rtc-rs5c348", |
1119 | .max_speed_hz = 1000000, /* 1.0Mbps @ Vdd 2.0V */ | 1119 | .max_speed_hz = 1000000, /* 1.0Mbps @ Vdd 2.0V */ |
1120 | .bus_num = 0, | 1120 | .bus_num = 0, |
1121 | .chip_select = 16 + SRTC_CS, | 1121 | .chip_select = 16 + SRTC_CS, |