Index: linux/arch/powerpc/kernel/pci_64.c
===================================================================
--- linux/arch/powerpc/kernel/pci_64.c	(revision 3)
+++ linux/arch/powerpc/kernel/pci_64.c	(working copy)
@@ -610,7 +610,8 @@
 	/* Scan all of the recorded PCI controllers.  */
 	list_for_each_entry_safe(hose, tmp, &hose_list, list_node) {
 		scan_phb(hose);
-		pci_bus_add_devices(hose->bus);
+		if (hose->bus)
+			pci_bus_add_devices(hose->bus);
 	}
 
 #ifndef CONFIG_PPC_ISERIES
