diff options
Diffstat (limited to 'arch/sh/boards/renesas/r7780rp/setup.c')
-rw-r--r-- | arch/sh/boards/renesas/r7780rp/setup.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/setup.c b/arch/sh/boards/renesas/r7780rp/setup.c index 0fdc0bc19145..a43b47726f54 100644 --- a/arch/sh/boards/renesas/r7780rp/setup.c +++ b/arch/sh/boards/renesas/r7780rp/setup.c | |||
@@ -179,9 +179,11 @@ static struct platform_device ax88796_device = { | |||
179 | static struct platform_device *r7780rp_devices[] __initdata = { | 179 | static struct platform_device *r7780rp_devices[] __initdata = { |
180 | &r8a66597_usb_host_device, | 180 | &r8a66597_usb_host_device, |
181 | &m66592_usb_peripheral_device, | 181 | &m66592_usb_peripheral_device, |
182 | &cf_ide_device, | ||
183 | &heartbeat_device, | 182 | &heartbeat_device, |
183 | #ifndef CONFIG_SH_R7780RP | ||
184 | &cf_ide_device, | ||
184 | &ax88796_device, | 185 | &ax88796_device, |
186 | #endif | ||
185 | }; | 187 | }; |
186 | 188 | ||
187 | static int __init r7780rp_devices_setup(void) | 189 | static int __init r7780rp_devices_setup(void) |
@@ -316,9 +318,9 @@ void __init highlander_init_irq(void) | |||
316 | break; | 318 | break; |
317 | #endif | 319 | #endif |
318 | #ifdef CONFIG_SH_R7780RP | 320 | #ifdef CONFIG_SH_R7780RP |
319 | highlander_init_irq_r7780rp(); | 321 | ucp = highlander_init_irq_r7780rp(); |
320 | ucp = irl2irq; | 322 | if (ucp) |
321 | break; | 323 | break; |
322 | #endif | 324 | #endif |
323 | } while (0); | 325 | } while (0); |
324 | 326 | ||