[Trusty] fix build error in gpio-dwapb patch

dann frazier dann.frazier at canonical.com
Fri Jul 25 20:36:50 UTC 2014


From: Alan Tull <atull at altera.com>

commit 4f37fbc6c30cd0da059f08b40e04b73a29bdee61 upstream.

BugLink: https://bugs.launchpad.net/bugs/1348808

fix build error with this message:
kernel/irq/Kconfig:41:error: recursive dependency detected!
kernel/irq/Kconfig:41:  symbol GENERIC_IRQ_CHIP is selected by GPIO_DWAPB
drivers/gpio/Kconfig:131:       symbol GPIO_DWAPB depends on IRQ_DOMAIN
kernel/irq/Kconfig:46:  symbol IRQ_DOMAIN is selected by GENERIC_IRQ_CHIP

Signed-off-by: Alan Tull <atull at altera.com>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Signed-off-by: dann.frazier <dann.frazier at canonical.com>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 17760dd..9120b29 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -125,7 +125,7 @@ config GPIO_DWAPB
 	tristate "Synopsys DesignWare APB GPIO driver"
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
-	depends on OF_GPIO && IRQ_DOMAIN
+	depends on OF_GPIO
 	help
 	  Say Y or M here to build support for the Synopsys DesignWare APB
 	  GPIO block.
-- 
2.0.1





More information about the kernel-team mailing list