diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-mx53_ard.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx53_ard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mach-mx53_ard.c b/arch/arm/mach-imx/mach-mx53_ard.c index 05641980dc5e..fe3f3969cf1d 100644 --- a/arch/arm/mach-imx/mach-mx53_ard.c +++ b/arch/arm/mach-imx/mach-mx53_ard.c | |||
@@ -135,8 +135,7 @@ static struct resource ard_smsc911x_resources[] = { | |||
135 | .flags = IORESOURCE_MEM, | 135 | .flags = IORESOURCE_MEM, |
136 | }, | 136 | }, |
137 | { | 137 | { |
138 | .start = IMX_GPIO_TO_IRQ(ARD_ETHERNET_INT_B), | 138 | /* irq number is run-time assigned */ |
139 | .end = IMX_GPIO_TO_IRQ(ARD_ETHERNET_INT_B), | ||
140 | .flags = IORESOURCE_IRQ, | 139 | .flags = IORESOURCE_IRQ, |
141 | }, | 140 | }, |
142 | }; | 141 | }; |
@@ -240,6 +239,8 @@ static void __init mx53_ard_board_init(void) | |||
240 | imx53_ard_common_init(); | 239 | imx53_ard_common_init(); |
241 | mx53_ard_io_init(); | 240 | mx53_ard_io_init(); |
242 | regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); | 241 | regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); |
242 | ard_smsc911x_resources[1].start = gpio_to_irq(ARD_ETHERNET_INT_B); | ||
243 | ard_smsc911x_resources[1].end = gpio_to_irq(ARD_ETHERNET_INT_B); | ||
243 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 244 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
244 | 245 | ||
245 | imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data); | 246 | imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data); |