x86/devicetree: Use generic PCI <-> OF matching
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 11 Apr 2011 01:19:09 +0000 (11:19 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 7 Jun 2011 23:08:40 +0000 (09:08 +1000)
commit3d5fe5a65af9c0b609d6e26b8d63fe5923c4e512
tree8c6a31cd4614212ffe0821ccc2435413a5b76dc9
parentbf13a6fa09b8db7f1fd59b5e2ed3674a89a6a25c
x86/devicetree: Use generic PCI <-> OF matching

Instead of walking the whole PCI tree to update the of_node's for
PCI busses and devices after the fact, enable the new generic core
code for doing so by providing the proper device nodes for the
PCI host bridges

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
arch/x86/kernel/devicetree.c