diff mbox

ARM: integrator: Make sure INTEGRATOR_AP depends on PCI

Message ID 1376509818-22163-1-git-send-email-joro@8bytes.org (mailing list archive)
State New, archived
Headers show

Commit Message

Joerg Roedel Aug. 14, 2013, 7:50 p.m. UTC
Add this dependency to the Kconfig file to fix the following
build error when CONFIG_INTEGRATOR_AP is set but CONFIG_PCI
is not:

  LD      init/built-in.o
arch/arm/mach-integrator/built-in.o: In function `ap_map_io':
integrator_cp.c:(.init.text+0x570): undefined reference to `pci_v3_early_init'
make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2

Signed-off-by: Joerg Roedel <joro@8bytes.org>
---
 arch/arm/mach-integrator/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Russell King - ARM Linux Aug. 14, 2013, 7:57 p.m. UTC | #1
On Wed, Aug 14, 2013 at 09:50:18PM +0200, Joerg Roedel wrote:
> Add this dependency to the Kconfig file to fix the following
> build error when CONFIG_INTEGRATOR_AP is set but CONFIG_PCI
> is not:

No, integrator does not require PCI, so this needs to be fixed by other
means, such as finding out how the breakage was introduced, and fixing
the real cause of this regression.
diff mbox

Patch

diff --git a/arch/arm/mach-integrator/Kconfig b/arch/arm/mach-integrator/Kconfig
index abeff25..be16569 100644
--- a/arch/arm/mach-integrator/Kconfig
+++ b/arch/arm/mach-integrator/Kconfig
@@ -9,6 +9,7 @@  config ARCH_INTEGRATOR_AP
 	select SERIAL_AMBA_PL010
 	select SERIAL_AMBA_PL010_CONSOLE
 	select SOC_BUS
+	depends on PCI
 	help
 	  Include support for the ARM(R) Integrator/AP and
 	  Integrator/PP2 platforms.