]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap1/board-palmte.c
ARM: OMAP: switch to gpio_direction_input
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap1 / board-palmte.c
index df663ba7ea88b1198e0e2125ee7916b066ec4375..0995a0fc1dd0002496af4718c4ee356c82c9fd24 100644 (file)
@@ -351,14 +351,14 @@ static void __init palmte_misc_gpio_setup(void)
                printk(KERN_ERR "Could not reserve PINTDAV GPIO!\n");
                return;
        }
-       omap_set_gpio_direction(PALMTE_PINTDAV_GPIO, 1);
+       gpio_direction_input(PALMTE_PINTDAV_GPIO);
 
        /* Set USB-or-DC-IN pin as input (unused) */
        if (omap_request_gpio(PALMTE_USB_OR_DC_GPIO)) {
                printk(KERN_ERR "Could not reserve cable signal GPIO!\n");
                return;
        }
-       omap_set_gpio_direction(PALMTE_USB_OR_DC_GPIO, 1);
+       gpio_direction_input(PALMTE_USB_OR_DC_GPIO);
 }
 
 static void __init omap_palmte_init(void)