[POWERPC] Fix up the OF functions to only do PCI stuff if PCI is actually configured
authorAndy Fleming <afleming@freescale.com>
Mon, 16 Oct 2006 21:03:33 +0000 (16:03 -0500)
committerPaul Mackerras <paulus@samba.org>
Tue, 24 Oct 2006 05:01:27 +0000 (15:01 +1000)
commit83efafb301bc79a32799ca854fb590e82c4396e9
treec6047820e93f8ba6633f989e2d00558be94fbb54
parent0cfcccb4687862a34eb609d16e75b39b6cb54c80
[POWERPC] Fix up the OF functions to only do PCI stuff if PCI is actually configured

The original problem that inspired this patch was solved quite some time
ago (Turning off PCI didn't work), but this patch neatens things up a
little (I think), by putting all the PCI stuff inside a single CONFIG_PCI
block.  It also removes the OF PCI bus matching entries if CONFIG_PCI is
off.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c