diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-11 02:35:26 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-11 02:35:26 +0100 |
commit | 40e3925ba15b604c9ff87154d77a914221d11cdc (patch) | |
tree | 08fb9b25a6b055e262bca7e8053fb2a5eb73cba9 /arch/arm/plat-omap/debug-devices.c | |
parent | ARM: OMAP: switch to standard gpio get/set calls (diff) | |
download | linux-40e3925ba15b604c9ff87154d77a914221d11cdc.tar.xz linux-40e3925ba15b604c9ff87154d77a914221d11cdc.zip |
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/plat-omap/debug-devices.c')
-rw-r--r-- | arch/arm/plat-omap/debug-devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/debug-devices.c b/arch/arm/plat-omap/debug-devices.c index e31154b15d9e..60076a800849 100644 --- a/arch/arm/plat-omap/debug-devices.c +++ b/arch/arm/plat-omap/debug-devices.c @@ -77,7 +77,7 @@ int __init debug_card_init(u32 addr, unsigned gpio) printk(KERN_ERR "GPIO%d unavailable for smc91x IRQ\n", gpio); return status; } - omap_set_gpio_direction(gpio, 1); + gpio_direction_input(gpio); led_resources[0].start = addr; led_resources[0].end = addr + SZ_4K - 1; |