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-omap1/board-palmte.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-omap1/board-palmte.c')
-rw-r--r-- | arch/arm/mach-omap1/board-palmte.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index df663ba7ea88..0995a0fc1dd0 100644 --- a/arch/arm/mach-omap1/board-palmte.c +++ b/arch/arm/mach-omap1/board-palmte.c | |||
@@ -351,14 +351,14 @@ static void __init palmte_misc_gpio_setup(void) | |||
351 | printk(KERN_ERR "Could not reserve PINTDAV GPIO!\n"); | 351 | printk(KERN_ERR "Could not reserve PINTDAV GPIO!\n"); |
352 | return; | 352 | return; |
353 | } | 353 | } |
354 | omap_set_gpio_direction(PALMTE_PINTDAV_GPIO, 1); | 354 | gpio_direction_input(PALMTE_PINTDAV_GPIO); |
355 | 355 | ||
356 | /* Set USB-or-DC-IN pin as input (unused) */ | 356 | /* Set USB-or-DC-IN pin as input (unused) */ |
357 | if (omap_request_gpio(PALMTE_USB_OR_DC_GPIO)) { | 357 | if (omap_request_gpio(PALMTE_USB_OR_DC_GPIO)) { |
358 | printk(KERN_ERR "Could not reserve cable signal GPIO!\n"); | 358 | printk(KERN_ERR "Could not reserve cable signal GPIO!\n"); |
359 | return; | 359 | return; |
360 | } | 360 | } |
361 | omap_set_gpio_direction(PALMTE_USB_OR_DC_GPIO, 1); | 361 | gpio_direction_input(PALMTE_USB_OR_DC_GPIO); |
362 | } | 362 | } |
363 | 363 | ||
364 | static void __init omap_palmte_init(void) | 364 | static void __init omap_palmte_init(void) |