]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-ldp.c
use gpio_direction_input (OMAP tree only)
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-ldp.c
index b2574dfeb5226d54ac36b9df1b89a2219801aec4..42d57fa9a43c62320afdfa7fa74125ce70f3ac75 100644 (file)
@@ -102,7 +102,7 @@ static void ads7846_dev_init(void)
                return;
        }
 
-       omap_set_gpio_direction(ts_gpio, 1);
+       gpio_direction_input(ts_gpio);
 
        omap_set_gpio_debounce(ts_gpio, 1);
        omap_set_gpio_debounce_time(ts_gpio, 0xa);