]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
gpio/qoriq: select IRQ_DOMAIN
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Apr 2016 12:10:08 +0000 (14:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Apr 2016 09:12:56 +0000 (11:12 +0200)
commita8fa91a74fc385da5d52fd1008c8fd322154cad8
treeea114962ff36c29766f52371bb0861b2fdc839ab
parent3737de42afb8d76f405689a4699e8e5dd5e2ef96
gpio/qoriq: select IRQ_DOMAIN

The gpio-mpc8xxx driver requires IRQ domains but can be built
without them, resulting on a failure to build certain randconfigs
on ARM:

drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_to_irq':
drivers/gpio/gpio-mpc8xxx.c:92:10: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration]
   return irq_create_mapping(mpc8xxx_gc->irq, offset);

This selects IRQ_DOMAIN from the driver to ensure we can build it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 5df7fd46b70b ("gpio/qoriq: Add qoriq platforms support")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig