X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Finput%2Ftouchscreen%2Fomap%2Fts_hx.c;h=a536e306efd2444c89fba1924602613e4601c403;hb=d59842e6881e8f58cb17de5c0d11866796347d50;hp=9f82f5afc21f74d3ced5492bf2212c08da21f8ba;hpb=7270f33b7b0139f40fcfbf771dc5ec5a773a71cd;p=linux-2.6-omap-h63xx.git diff --git a/drivers/input/touchscreen/omap/ts_hx.c b/drivers/input/touchscreen/omap/ts_hx.c index 9f82f5afc21..a536e306efd 100644 --- a/drivers/input/touchscreen/omap/ts_hx.c +++ b/drivers/input/touchscreen/omap/ts_hx.c @@ -97,7 +97,7 @@ static int __init hx_ts_probe(struct omap_ts_t *ts) return -EINVAL; }; - omap_set_gpio_direction(gpio, 1); + gpio_direction_input(gpio); ts->irq_type = IRQF_TRIGGER_FALLING; return 0; }