gpio: sifive: select IRQ_DOMAIN_HIERARCHY rather than depend on it
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 19 Jan 2021 03:18:13 +0000 (19:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2021 10:55:10 +0000 (11:55 +0100)
commitca431352900a2d0e86bc298551fb090a39e5cf42
treef6b3bfdd8d3a565a2107146668daa275f2d3f457
parentbc183873967e20135105a628c5f307ab5dc53f75
gpio: sifive: select IRQ_DOMAIN_HIERARCHY rather than depend on it

[ Upstream commit 18eedf2b5ec7c8ce2bb23d9148cfd63949207414 ]

This is the only driver in the kernel source tree that depends on
IRQ_DOMAIN_HIERARCHY instead of selecting it. Since it is not a
visible Kconfig symbol, depending on it (expecting a user to
set/enable it) doesn't make much sense, so change it to select
instead of "depends on".

Fixes: 96868dce644d ("gpio/sifive: Add GPIO driver for SiFive SoCs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: linux-gpio@vger.kernel.org
Cc: Thierry Reding <treding@nvidia.com>
Cc: Greentime Hu <greentime.hu@sifive.com>
Cc: Yash Shah <yash.shah@sifive.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/Kconfig