]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: merrifield: Restore use of irq_base
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Oct 2019 15:23:27 +0000 (18:23 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Oct 2019 23:18:15 +0000 (01:18 +0200)
commit4fb7b595193acfe35b8e33a007f6dbff72a79a0a
treeb2bd108f0eac9f466feffa198304d537fb85722c
parent1eba4f95a783c5666881b1e9b4c3de4b05c4f502
gpio: merrifield: Restore use of irq_base

During conversion to internal IRQ chip initialization the commit
  2352bb2de89a ("gpio: merrifield: Pass irqchip when adding gpiochip")
lost the irq_base assignment.

drivers/gpio/gpio-merrifield.c: In function ‘mrfld_gpio_probe’:
drivers/gpio/gpio-merrifield.c:405:17: warning: variable ‘irq_base’ set but not used [-Wunused-but-set-variable]

Assign the girq->first to it.

Fixes: 2352bb2de89a ("gpio: merrifield: Pass irqchip when adding gpiochip")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-merrifield.c