diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-2430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 24688efaa445..6748de6e19a8 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -168,13 +168,13 @@ static inline void __init sdp2430_init_smc91x(void) | |||
168 | sdp2430_smc91x_resources[0].end = cs_mem_base + 0x30f; | 168 | sdp2430_smc91x_resources[0].end = cs_mem_base + 0x30f; |
169 | udelay(100); | 169 | udelay(100); |
170 | 170 | ||
171 | if (omap_request_gpio(OMAP24XX_ETHR_GPIO_IRQ) < 0) { | 171 | if (gpio_request(OMAP24XX_ETHR_GPIO_IRQ, "SMC91x irq") < 0) { |
172 | printk(KERN_ERR "Failed to request GPIO%d for smc91x IRQ\n", | 172 | printk(KERN_ERR "Failed to request GPIO%d for smc91x IRQ\n", |
173 | OMAP24XX_ETHR_GPIO_IRQ); | 173 | OMAP24XX_ETHR_GPIO_IRQ); |
174 | gpmc_cs_free(eth_cs); | 174 | gpmc_cs_free(eth_cs); |
175 | goto out; | 175 | goto out; |
176 | } | 176 | } |
177 | omap_set_gpio_direction(OMAP24XX_ETHR_GPIO_IRQ, 1); | 177 | gpio_direction_input(OMAP24XX_ETHR_GPIO_IRQ); |
178 | 178 | ||
179 | out: | 179 | out: |
180 | clk_disable(gpmc_fck); | 180 | clk_disable(gpmc_fck); |