X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-omap2%2Fboard-2430sdp.c;h=5d2933d7a75dcceeb7d8a8367837d698a196ddd8;hb=a9456ccc5d6eae2804a0f181fcd42051e2c8b826;hp=669cd15d2cca1cfe5549494408d9d31703f8b1a5;hpb=1f257594d28fb0ed84bb54ba06a38c06d0f58419;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 669cd15d2cc..5d2933d7a75 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -214,7 +214,7 @@ static struct platform_device *sdp2430_devices[] __initdata = { static void ads7846_dev_init(void) { - if (omap_request_gpio(TS_GPIO) < 0) + if (gpio_request(TS_GPIO, "ads7846 irq") < 0) printk(KERN_ERR "can't get ads746 pen down GPIO\n"); gpio_direction_input(TS_GPIO);