author | Sekhar Nori <nsekhar@ti.com> | |
Tue, 29 May 2018 14:51:01 +0000 (20:21 +0530) | ||
committer | Linus Walleij <linus.walleij@linaro.org> | |
Wed, 30 May 2018 07:11:11 +0000 (09:11 +0200) | ||
commit | 6310b930ccbba55168f30b610fae681d73bd7bd2 | |
tree | a779c102da63dcfeea8d95250ad2a9b7e1878272 | tree | snapshot (tar.xz tar.gz zip) |
parent | 02f6bf8717a359cabe042c632f3d03fc772450bf | commit | diff |
gpio: davinci: fix build warning when !CONFIG_OF
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@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
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@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-davinci.c | diff | blob | history |