2008-08-19 13:48:13

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] blackfin: let PCI depend on BROKEN

AFAIR there exists blackfin hardware with PCI support, but the support
currently in the kernel fails to build starting with:

<-- snip -->

...
CC drivers/pci/probe.o
probe.c: In function 'pci_scan_slot':
probe.c:1056: error: implicit declaration of function 'pcibios_scan_all_fns'
make[3]: *** [drivers/pci/probe.o] Error 1

<-- snip -->

Signed-off-by: Adrian Bunk <[email protected]>

---
b5be58af247c67af4f1e40e2883f87be7a1e8383
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index f64d259..4154ff1 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -855,6 +855,7 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"

config PCI
bool "PCI support"
+ depends on BROKEN
help
Support for PCI bus.