diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2008-12-10 20:35:30 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:35:30 -0500 |
commit | f2d18fea8b87d09bdda22cc67c36f5f463452a33 (patch) | |
tree | a8641626136a6f14d2873e13f263fa0de6ab04f8 /arch/arm/mach-omap1/board-innovator.c | |
parent | e031ab23deb5a5d9ac5744e69a0627823e81b074 (diff) |
ARM: OMAP: Switch to gpio_request/free calls
Switch to gpio_request/free calls
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/board-innovator.c')
-rw-r--r-- | arch/arm/mach-omap1/board-innovator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index cbc11be5cd2a..a21e365a7a87 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c | |||
@@ -301,7 +301,7 @@ static void __init innovator_init_smc91x(void) | |||
301 | OMAP1510_FPGA_RST); | 301 | OMAP1510_FPGA_RST); |
302 | udelay(750); | 302 | udelay(750); |
303 | } else { | 303 | } else { |
304 | if ((omap_request_gpio(0)) < 0) { | 304 | if (gpio_request(0, "SMC91x irq") < 0) { |
305 | printk("Error requesting gpio 0 for smc91x irq\n"); | 305 | printk("Error requesting gpio 0 for smc91x irq\n"); |
306 | return; | 306 | return; |
307 | } | 307 | } |