]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/gpio/Kconfig
gpio: thunderx: select IRQ_DOMAIN_HIERARCHY instead of depends on
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 6 Sep 2017 01:40:52 +0000 (10:40 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 Sep 2017 07:39:10 +0000 (09:39 +0200)
commit311de3ce96f453a5a6edb3066eb6109cc07e81d2
treeb29a6d5cefe138c94291a41c86e381a4afa6f2b4
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
gpio: thunderx: select IRQ_DOMAIN_HIERARCHY instead of depends on

IRQ_DOMAIN_HIERARCHY is not user-configurable, but supposed to be
selected by drivers that need IRQ domain hierarchy support.

GPIO_THUNDERX is the only user of "depends on IRQ_DOMAIN_HIERARCHY".
This means, we can not enable GPIO_THUNDERX unless other drivers
select IRQ_DOMAIN_HIERARCHY elsewhere.  This is odd.  Flip the logic.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig