mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04: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 <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
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…
Reference in a new issue