]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.git/commit
gpio: davinci: fix build warning when !CONFIG_OF
authorSekhar Nori <nsekhar@ti.com>
Tue, 29 May 2018 14:51:01 +0000 (20:21 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 May 2018 07:11:11 +0000 (09:11 +0200)
commit6310b930ccbba55168f30b610fae681d73bd7bd2
treea779c102da63dcfeea8d95250ad2a9b7e1878272
parent02f6bf8717a359cabe042c632f3d03fc772450bf
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>
drivers/gpio/gpio-davinci.c