ARM: OMAP: switch to gpio_direction_input
More switchover to the cross-platform GPIO interface: use gpio_direction_input(), not an OMAP-specific call. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
committed by
Tony Lindgren
parent
0b84b5ca43
commit
40e3925ba1
@ -634,7 +634,7 @@ static int __devinit omap2_onenand_probe(struct platform_device *pdev)
|
||||
"OneNAND\n", c->gpio_irq);
|
||||
goto err_iounmap;
|
||||
}
|
||||
omap_set_gpio_direction(c->gpio_irq, 1);
|
||||
gpio_direction_input(c->gpio_irq);
|
||||
|
||||
if ((r = request_irq(OMAP_GPIO_IRQ(c->gpio_irq),
|
||||
omap2_onenand_interrupt, IRQF_TRIGGER_RISING,
|
||||
|
Reference in New Issue
Block a user