powerpc/85xx: Don't set FT_FSL_PCI_SETUP if CONFIG_PCI is not set
authorMatthew McClintock <msm@freescale.com>
Mon, 25 Apr 2011 19:10:35 +0000 (14:10 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 28 Apr 2011 03:40:32 +0000 (22:40 -0500)
commitae425c1ecaff40111720f2f81817d8939c2c7395
tree18d6cc53dd523b0cebe9533ce21ddd6f7ae1c15a
parent416202f6722837fa2bae94107e7da63fe66bb569
powerpc/85xx: Don't set FT_FSL_PCI_SETUP if CONFIG_PCI is not set

A lot of boards set FT_FSL_PCI_SETUP directly in their board code
and don't check to see if CONFIG_PCI is actually defined. This
will cause the board compilation to fail if CONFIG_PCI is not
defined. The p1022ds board is one such example.

Instead of fixing every board this patch wraps FT_FSL_PCI_SETUP
around CONFIG_PCI so we can remove CONFIG_PCI and boards will
still build properly.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/fsl_pci.h