diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-10 20:35:26 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:35:26 -0500 |
commit | 40e3925ba15b604c9ff87154d77a914221d11cdc (patch) | |
tree | 08fb9b25a6b055e262bca7e8053fb2a5eb73cba9 /arch/arm/mach-omap2/board-2430sdp.c | |
parent | 0b84b5ca43a9c86cfad848c135fdbf7c72af68fa (diff) |
ARM: OMAP: switch to gpio_direction_input
More switchover to the cross-platform GPIO interface:
use gpio_direction_input(), not an OMAP-specific call.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-2430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-2430sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 24688efaa445..f844a670f072 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -174,7 +174,7 @@ static inline void __init sdp2430_init_smc91x(void) | |||
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); |