Skip to content

Commit

Permalink
powerpc/cell: Fix Axon MSI driver dependencies
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Ellerman authored and Benjamin Herrenschmidt committed Mar 11, 2009
1 parent 1bac022 commit 47c3c6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions arch/powerpc/platforms/cell/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/cell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47c3c6e

Please sign in to comment.