On Wed, 3 Dec 2008 09:37:24 +0200 Jarkko Nikula <jarkko.nikula@xxxxxxxxx> wrote: > Signed-off-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxx> > --- > drivers/mtd/onenand/omap2.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > Grr, I forgot to add Adrian into cc list. > diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c > index 1298563..9ae49b1 100644 > --- a/drivers/mtd/onenand/omap2.c > +++ b/drivers/mtd/onenand/omap2.c > @@ -630,7 +630,7 @@ static int __devinit omap2_onenand_probe(struct platform_device *pdev) > } > > if (c->gpio_irq) { > - if ((r = omap_request_gpio(c->gpio_irq)) < 0) { > + if ((r = gpio_request(c->gpio_irq, "OneNAND irq")) < 0) { > dev_err(&pdev->dev, "Failed to request GPIO%d for " > "OneNAND\n", c->gpio_irq); > goto err_iounmap; > @@ -727,7 +727,7 @@ err_release_dma: > free_irq(gpio_to_irq(c->gpio_irq), c); > err_release_gpio: > if (c->gpio_irq) > - omap_free_gpio(c->gpio_irq); > + gpio_free(c->gpio_irq); > err_iounmap: > iounmap(c->onenand.base); > err_release_mem_region: > @@ -762,7 +762,7 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev) > platform_set_drvdata(pdev, NULL); > if (c->gpio_irq) { > free_irq(gpio_to_irq(c->gpio_irq), c); > - omap_free_gpio(c->gpio_irq); > + gpio_free(c->gpio_irq); > } > iounmap(c->onenand.base); > release_mem_region(c->phys_base, ONENAND_IO_SIZE); > -- > 1.5.6.5 > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html