diff options
author | Jarkko Nikula <jarkko.nikula@nokia.com> | 2009-01-15 13:09:52 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-01-15 13:09:52 +0200 |
commit | 73069e388d0f2509e45e1a58b0facca99ef2446e (patch) | |
tree | c9c69ad9df07bbc2f809faa718d65b6773e9f9d9 /arch/arm/mach-omap2/board-ldp.c | |
parent | dc0e88c7e15acbe3d7e8682312f709938f0dcf01 (diff) | |
download | blackbird-obmc-linux-73069e388d0f2509e45e1a58b0facca99ef2446e.tar.gz blackbird-obmc-linux-73069e388d0f2509e45e1a58b0facca99ef2446e.zip |
ARM: OMAP: Fix gpio by switching to generic gpio calls, v2
Fix compile by removing remaining omap specific gpio
calls. Based on earlier patches by Jarkko Nikula.
Also remove old GPIO key code, there is already a patch
to do this with gpio_keys.
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index aa6972781e4a..f6a13451d1fd 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c @@ -88,7 +88,7 @@ static inline void __init ldp_init_smc911x(void) ldp_smc911x_resources[1].start = OMAP_GPIO_IRQ(eth_gpio); - if (omap_request_gpio(eth_gpio) < 0) { + if (gpio_request(eth_gpio, "smc911x irq") < 0) { printk(KERN_ERR "Failed to request GPIO%d for smc911x IRQ\n", eth_gpio); return; |