aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpio/gpiolib-of.c
diff options
context:
space:
mode:
authorPhil Reid <preid@electromag.com.au>2019-06-10 17:50:11 +0800
committerLinus Walleij <linus.walleij@linaro.org>2019-06-10 16:24:22 +0200
commit9d373acadaf676e3733ba57c7294ec60e9a358a9 (patch)
treee0f3875210e0f7883de166b5b736b569a0118f7d /drivers/gpio/gpiolib-of.c
parentgpio: xilinx: convert from OF GPIO to standard devm APIs (diff)
downloadwireguard-linux-9d373acadaf676e3733ba57c7294ec60e9a358a9.tar.xz
wireguard-linux-9d373acadaf676e3733ba57c7294ec60e9a358a9.zip
gpio: altera: Allocate irq_chip dynamically
Keeping the irq_chip definition static shares it with multiple instances of the altera gpiochip in the system. This is bad and now we get this warning from gpiolib core: "detected irqchip that is shared with multiple gpiochips: please fix the driver." Hence, move the irq_chip definition from being driver static into the struct altera_gpio_chips. So a unique irq_chip is used for each gpiochip instance. Signed-off-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions