Patchwork powerpc/platforms: fix config dependency problem

login
register
mail settings
Submitter Andreas Schwab
Date Aug. 23, 2010, 5:36 p.m.
Message ID <m28w3xz0wm.fsf@igel.home>
Download mbox | patch
Permalink /patch/62501/
State Accepted, archived
Commit 314b389b1795286400f109a25e9c2f02ab3b9b15
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Andreas Schwab - Aug. 23, 2010, 5:36 p.m.
MPIC_U3_HT_IRQS is selected both by PPC_PMAC64 and PPC_MAPLE, but depends
on PPC_MAPLE, so a PPC_PMAC64-only config gets this warning:

warning: (PPC_PMAC64 && PPC_PMAC && POWER4 || PPC_MAPLE && PPC64 && PPC_BOOK3S) selects MPIC_U3_HT_IRQS which has unmet direct dependencies (PPC_MAPLE)

Fix that by removing the dependency on PPC_MAPLE.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
 arch/powerpc/platforms/Kconfig |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Patch

diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index d1663db..81c9208 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -106,8 +106,7 @@  config MMIO_NVRAM
 
 config MPIC_U3_HT_IRQS
 	bool
-	depends on PPC_MAPLE
-	default y
+	default n
 
 config MPIC_BROKEN_REGREAD
 	bool