]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-omap2evm.c
use standard gpio get/set calls (OMAP tree only)
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-omap2evm.c
index 84aeacf50aa9e8a1de22b38d18380ca3c09d5ea3..e705e59c26d43c6ce9d483ef48276b0631774cc9 100644 (file)
@@ -214,7 +214,7 @@ static void ads7846_dev_init(void)
 
 static int ads7846_get_pendown_state(void)
 {
-       return !omap_get_gpio_datain(OMAP2_EVM_TS_GPIO);
+       return !gpio_get_value(OMAP2_EVM_TS_GPIO);
 }
 
 struct ads7846_platform_data ads7846_config = {