diff mbox series

[2/2] gpio: xgene-sb: select IRQ_DOMAIN_HIERARCHY

Message ID 1499814710-16686-3-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit c23d200fec9e7523ecf24017187fea4e2f4abee4
Headers show
Series gpio: select IRQ_DOMAIN_HIERARCHY fixing curcular Kconfig dependency | expand

Commit Message

Masahiro Yamada July 11, 2017, 11:11 p.m. UTC
This driver calls irq_domain_hierarchy() and irq_chip_*_parent().
They are available only when CONFIG_IRQ_DOMAIN_HIERARCHY is enabled.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Linus Walleij Aug. 1, 2017, 8:06 a.m. UTC | #1
On Wed, Jul 12, 2017 at 1:11 AM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:

> This driver calls irq_domain_hierarchy() and irq_chip_*_parent().

> They are available only when CONFIG_IRQ_DOMAIN_HIERARCHY is enabled.

>

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Patch applied for GPIO fixes on top of 1/2.

Thanks for the thorough fix, very impressed with this good
work.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f235eae04c16..461d6fc3688b 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -504,6 +504,7 @@  config GPIO_XGENE_SB
 	depends on ARCH_XGENE && OF_GPIO
 	select GPIO_GENERIC
 	select GPIOLIB_IRQCHIP
+	select IRQ_DOMAIN_HIERARCHY
 	help
 	  This driver supports the GPIO block within the APM X-Gene
 	  Standby Domain. Say yes here to enable the GPIO functionality.