diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-palmz71.c')
-rw-r--r-- | arch/arm/mach-omap1/board-palmz71.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c index c33766c4dd92..5a232adaefcc 100644 --- a/arch/arm/mach-omap1/board-palmz71.c +++ b/arch/arm/mach-omap1/board-palmz71.c | |||
@@ -331,7 +331,7 @@ palmz71_gpio_setup(int early) | |||
331 | printk(KERN_ERR "Could not reserve WP GPIO!\n"); | 331 | printk(KERN_ERR "Could not reserve WP GPIO!\n"); |
332 | return; | 332 | return; |
333 | } | 333 | } |
334 | omap_set_gpio_direction(PALMZ71_MMC_WP_GPIO, 1); | 334 | gpio_direction_input(PALMZ71_MMC_WP_GPIO); |
335 | 335 | ||
336 | /* Monitor the Power-cable-connected signal */ | 336 | /* Monitor the Power-cable-connected signal */ |
337 | if (omap_request_gpio(PALMZ71_USBDETECT_GPIO)) { | 337 | if (omap_request_gpio(PALMZ71_USBDETECT_GPIO)) { |
@@ -339,7 +339,7 @@ palmz71_gpio_setup(int early) | |||
339 | "Could not reserve cable signal GPIO!\n"); | 339 | "Could not reserve cable signal GPIO!\n"); |
340 | return; | 340 | return; |
341 | } | 341 | } |
342 | omap_set_gpio_direction(PALMZ71_USBDETECT_GPIO, 1); | 342 | gpio_direction_input(PALMZ71_USBDETECT_GPIO); |
343 | if (request_irq(OMAP_GPIO_IRQ(PALMZ71_USBDETECT_GPIO), | 343 | if (request_irq(OMAP_GPIO_IRQ(PALMZ71_USBDETECT_GPIO), |
344 | palmz71_powercable, IRQF_SAMPLE_RANDOM, | 344 | palmz71_powercable, IRQF_SAMPLE_RANDOM, |
345 | "palmz71-cable", 0)) | 345 | "palmz71-cable", 0)) |