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/usb-tusb6010.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/usb-tusb6010.c')
-rw-r--r-- | arch/arm/mach-omap2/usb-tusb6010.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index 10ef464d6be7..eb2399dc74c2 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c | |||
@@ -297,7 +297,7 @@ tusb6010_setup_interface(struct musb_hdrc_platform_data *data, | |||
297 | printk(error, 3, status); | 297 | printk(error, 3, status); |
298 | return status; | 298 | return status; |
299 | } | 299 | } |
300 | omap_set_gpio_direction(irq, 1); | 300 | gpio_direction_input(irq); |
301 | tusb_resources[2].start = irq + IH_GPIO_BASE; | 301 | tusb_resources[2].start = irq + IH_GPIO_BASE; |
302 | 302 | ||
303 | /* set up memory timings ... can speed them up later */ | 303 | /* set up memory timings ... can speed them up later */ |