Re: [PATCH] gpio: davinci: fix build warning when !CONFIG_OF
From: Linus Walleij
Date: Wed May 30 2018 - 03:11:47 EST
On Tue, May 29, 2018 at 4:51 PM, Sekhar Nori <nsekhar@xxxxxx> wrote:
> This nukes the following warning that is seen when building without
> OF support:
>
> drivers/gpio/gpio-davinci.c:437:25: warning: âkeystone_gpio_get_irq_chipâ defined but not used [-Wunused-function]
> static struct irq_chip *keystone_gpio_get_irq_chip(unsigned int irq)
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> Signed-off-by: Sekhar Nori <nsekhar@xxxxxx>
Patch applied.
Yours,
Linus Walleij