linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irq: ingenic: Drop dependency on MACH_INGENIC
@ 2018-08-21 13:49 Paul Cercueil
  2018-08-23  2:30 ` kbuild test robot
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Cercueil @ 2018-08-21 13:49 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Marc Zyngier
  Cc: od, linux-kernel, Paul Cercueil

Depending on MACH_INGENIC prevent us from creating a generic kernel
that works on more than one MIPS board. Instead, we just depend on
MIPS being set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/irqchip/Kconfig | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index e9233db16e03..04628af89b60 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -269,9 +269,13 @@ config MIPS_GIC
 	select MIPS_CM
 
 config INGENIC_IRQ
-	bool
-	depends on MACH_INGENIC
-	default y
+	bool "Ingenic JZ47xx IRQ controller"
+	depends on MIPS
+	default MACH_INGENIC
+	help
+	  Support the interrupt controller present on JZ47xx SoCs from Ingenic.
+
+	  If compiling for an Ingenic JZ47xx SoC, you want to say Y here.
 
 config RENESAS_H8300H_INTC
         bool
-- 
2.11.0


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

end of thread, other threads:[~2018-08-23 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-21 13:49 [PATCH] irq: ingenic: Drop dependency on MACH_INGENIC Paul Cercueil
2018-08-23  2:30 ` kbuild test robot
2018-08-23 12:50   ` Paul Cercueil

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).