Patchwork powerpc/cell: Fix Axon MSI driver dependencies

login
register
mail settings
Submitter Michael Ellerman
Date March 6, 2009, 3:37 a.m.
Message ID <bcf5077b7f9cca219a8c420858c9696631aab73b.1236310624.git.michael@ellerman.id.au>
Download mbox | patch
Permalink /patch/24138/
State Accepted, archived
Commit 47c3c6ef955aabdccce294eb61c3294c8083478f
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Michael Ellerman - March 6, 2009, 3:37 a.m.
The Axon MSI driver depends on more than just PCI_MSI, so add a
Kconfig fragment for it. Fixes randconfig build failures.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 arch/powerpc/platforms/cell/Kconfig  |    5 +++++
 arch/powerpc/platforms/cell/Makefile |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig
index 037f59a..17b9b19 100644
--- a/arch/powerpc/platforms/cell/Kconfig
+++ b/arch/powerpc/platforms/cell/Kconfig
@@ -43,6 +43,11 @@  config PPC_CELL_QPACE
 	depends on PPC_MULTIPLATFORM && PPC64
 	select PPC_CELL_COMMON
 
+config AXON_MSI
+	bool
+	depends on PPC_IBM_CELL_BLADE && PCI_MSI
+	default y
+
 menu "Cell Broadband Engine options"
 	depends on PPC_CELL
 
diff --git a/arch/powerpc/platforms/cell/Makefile b/arch/powerpc/platforms/cell/Makefile
index 43eccb2..83fafe9 100644
--- a/arch/powerpc/platforms/cell/Makefile
+++ b/arch/powerpc/platforms/cell/Makefile
@@ -28,7 +28,7 @@  obj-$(CONFIG_SPU_BASE)			+= spu_callbacks.o spu_base.o \
 					   $(spu-manage-y) \
 					   spufs/
 
-obj-$(CONFIG_PCI_MSI)			+= axon_msi.o
+obj-$(CONFIG_AXON_MSI)			+= axon_msi.o
 
 # qpace setup
 obj-$(CONFIG_PPC_CELL_QPACE)		+= qpace_setup.o