diff options
author | Wojtek Kaniewski <wojtekka@toxygen.net> | 2006-11-08 19:52:57 -0800 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 20:39:24 +1100 |
commit | 1d30593e4c406c753e395676ba8b58600ccccbc1 (patch) | |
tree | b30f35675240cfe4a8ef758554d8eac5602bfc18 /arch/ppc/platforms/4xx/bubinga.c | |
parent | d6a0005c26aea9d470cf80c392d3bf2039dc4679 (diff) | |
download | blackbird-op-linux-1d30593e4c406c753e395676ba8b58600ccccbc1.tar.gz blackbird-op-linux-1d30593e4c406c753e395676ba8b58600ccccbc1.zip |
[POWERPC] Compilation fixes for ppc4xx PCI-less configs
Fix compilation without PCI support for Bubinga, CPCI405 and EP405.
bios_fixup() for these boards uses functions available only with
CONFIG_PCI, so linker fails.
Signed-off-by: Wojtek Kaniewski <wojtekka@toxygen.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/platforms/4xx/bubinga.c')
-rw-r--r-- | arch/ppc/platforms/4xx/bubinga.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ppc/platforms/4xx/bubinga.c b/arch/ppc/platforms/4xx/bubinga.c index 4009f4983ca6..75857b38e894 100644 --- a/arch/ppc/platforms/4xx/bubinga.c +++ b/arch/ppc/platforms/4xx/bubinga.c @@ -116,6 +116,7 @@ bubinga_early_serial_map(void) void __init bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip) { +#ifdef CONFIG_PCI unsigned int bar_response, bar; /* @@ -212,6 +213,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip) printk(" ptm2la\t0x%x\n", in_le32(&(pcip->ptm2la))); #endif +#endif } void __init |