summaryrefslogtreecommitdiff
path: root/lib/bug.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-10-24 20:29:15 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-11-05 10:54:42 +0300
commited8dce4c6f726b7f3c6bf40859b92a9e32f189c1 (patch)
tree7b24be600f98edfaa6dfd61641ea39d0b3f4a199 /lib/bug.c
parent48207d7595d2be604e21228e5a93aaff17e4b808 (diff)
downloadlinux-ed8dce4c6f726b7f3c6bf40859b92a9e32f189c1.tar.xz
gpio: pl061: Move irq_chip definition inside struct pl061
Keeping the irq_chip definition static will make it shared with multiple giochips in the system. This practice is considered to be bad and now we will get the below warning from gpiolib core: "detected irqchip that is shared with multiple gpiochips: please fix the driver." Hence, move the irq_chip definition from static to `struct pl061` for using a unique irq_chip for each gpiochip. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions