summaryrefslogtreecommitdiffstats
path: root/kernel/kcov.c
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2019-01-11 17:25:16 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-01-21 14:19:25 +0100
commit19ab5ca9b77d8b30a00cd3b7474d9c1f87df5c0a (patch)
tree5cc4ad18a1510f08b9b274bb422e60c3df379fad /kernel/kcov.c
parentf4f1b074691288d024a72601463011b6afd8ac75 (diff)
downloadlinux-19ab5ca9b77d8b30a00cd3b7474d9c1f87df5c0a.tar.gz
linux-19ab5ca9b77d8b30a00cd3b7474d9c1f87df5c0a.tar.bz2
linux-19ab5ca9b77d8b30a00cd3b7474d9c1f87df5c0a.zip
pinctrl: mcp23s08: Allocate irq_chip dynamic
Keeping the irq_chip definition static shares it with multiple instances of the mcp23s08 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 mcp23s08. So a unique irq_chip is used for each gpiochip instance. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel/kcov.c')
0 files changed, 0 insertions, 0 deletions