linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ
@ 2012-12-02 15:44 Andrew Lunn
  2012-12-03 23:01 ` Linus Walleij
  2013-01-06 17:37 ` Jason Cooper
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Lunn @ 2012-12-02 15:44 UTC (permalink / raw)
  To: linux-arm-kernel

This driver only builds when CONFIG_OF_IRQ is enabled. So add this as
a dependency. Dockstar, and other none DT boards don't build because
of this, when all other OF boards are disabled.

Reported-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Willy Tarreau <w@1wt.eu>
---
 drivers/gpio/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 6dbc403..4d84c17 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -153,6 +153,7 @@ config GPIO_MSM_V2
 config GPIO_MVEBU
 	def_bool y
 	depends on PLAT_ORION
+	depends on OF_IRQ
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-06 17:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-02 15:44 [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ Andrew Lunn
2012-12-03 23:01 ` Linus Walleij
2013-01-06 17:37 ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).