mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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:
parent
0b84b5ca43
commit
40e3925ba1
11 changed files with 16 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue