]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Remove bogus sanity check in pci -> OF node code
authorBenjamin Herrenschmidt <benh@au1.ibm.com>
Thu, 11 Jan 2007 05:38:22 +0000 (16:38 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 22 Jan 2007 10:27:35 +0000 (21:27 +1100)
commit4ef6e68117e93111590d9d4ada1a282304241169
treec9954f0620ee45550ef3bae223208fc3939f4e50
parenta8b3485287731978899ced11f24628c927890e78
[POWERPC] Remove bogus sanity check in pci -> OF node code

The new implementation of pci_device_to_OF_node() on ppc32 has a bogus
sanity check in it that can cause oopses at boot when no device node is
present, and might hit correct cases with older/weird apple device-trees
where they have the type "vci" for the chaos bridge.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_32.c