core/pci.c: Move device node fixups to happen after all devices are added to the DT
core/pci.c: Move device node fixups to happen after all devices are added to the DT

Commit 75e9440 (PCI: Trace device node from PCI device) introduced the
ability for PCI devices to do fixups based on information added to the
device tree as part of device initialisation.

However that patch called the fixups during device initialisation
meaning not all devices present in the system had been added to the
device tree. Depending on device initialisation order this means some
devices were not detected by the fixup code.

This patch moves the calls to the fixup code until after all PCI
devices have been added to the device tree.

Signed-off-by: Alistair Popple <e9adbcf81c8a36ccc628e09bc92d0e25e1c8e501@popple.id.au>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

legoater/skiboot,shenki/skiboot,qemu/skiboot,mikey/skiboot,legoater/skiboot,open-power/skiboot,csmart/skiboot,open-power/skiboot,stewart-ibm/skiboot,stewart-ibm/skiboot,legoater/skiboot,qemu/skiboot,open-power/skiboot,qemu/skiboot,legoater/skiboot,shenki/skiboot,mikey/skiboot,mikey/skiboot,csmart/skiboot,open-power/skiboot,shenki/skiboot,open-power/skiboot,legoater/skiboot,shenki/skiboot,qemu/skiboot,csmart/skiboot,qemu/skiboot,shenki/skiboot,stewart-ibm/skiboot