Commit a8fa91a7 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Linus Walleij

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: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 5df7fd46 ("gpio/qoriq: Add qoriq platforms support")
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3737de42
...@@ -303,6 +303,7 @@ config GPIO_MPC8XXX ...@@ -303,6 +303,7 @@ config GPIO_MPC8XXX
FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \ FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \
COMPILE_TEST COMPILE_TEST
select GPIO_GENERIC select GPIO_GENERIC
select IRQ_DOMAIN
help help
Say Y here if you're going to use hardware that connects to the Say Y here if you're going to use hardware that connects to the
MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs. MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment