aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9/jmr3927/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/txx9/jmr3927/setup.c')
-rw-r--r--arch/mips/txx9/jmr3927/setup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/txx9/jmr3927/setup.c b/arch/mips/txx9/jmr3927/setup.c
index 2e40a9268254..0f3843c92cf7 100644
--- a/arch/mips/txx9/jmr3927/setup.c
+++ b/arch/mips/txx9/jmr3927/setup.c
@@ -190,11 +190,20 @@ static void __init jmr3927_rtc_init(void)
190 platform_device_register_simple("rtc-ds1742", -1, &res, 1); 190 platform_device_register_simple("rtc-ds1742", -1, &res, 1);
191} 191}
192 192
193static void __init jmr3927_mtd_init(void)
194{
195 int i;
196
197 for (i = 0; i < 2; i++)
198 tx3927_mtd_init(i);
199}
200
193static void __init jmr3927_device_init(void) 201static void __init jmr3927_device_init(void)
194{ 202{
195 __swizzle_addr_b = jmr3927_swizzle_addr_b; 203 __swizzle_addr_b = jmr3927_swizzle_addr_b;
196 jmr3927_rtc_init(); 204 jmr3927_rtc_init();
197 tx3927_wdt_init(); 205 tx3927_wdt_init();
206 jmr3927_mtd_init();
198} 207}
199 208
200struct txx9_board_vec jmr3927_vec __initdata = { 209struct txx9_board_vec jmr3927_vec __initdata = {