]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/cell: Fix Axon MSI driver dependencies
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 5 Mar 2009 17:37:11 +0000 (17:37 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Mar 2009 06:11:33 +0000 (17:11 +1100)
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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/Kconfig
arch/powerpc/platforms/cell/Makefile

index 037f59a4bfe7f3007b2b6315e449d9837b1a016b..17b9b193557ca4e0e00eb596da8585b7813ca030 100644 (file)
@@ -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
 
index 43eccb27030121936175256f409804b55f4c82f5..83fafe92264143437eac0f9c5be256701658cb5d 100644 (file)
@@ -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