/* These functions are used early on before PCI scanning is done and all of the pci_dev and pci_bus structures have been created.  */
static struct pci_bus* fake_pci_bus(struct pci_controller *hose, int busnr)
/* These functions are used early on before PCI scanning is done and all of the pci_dev and pci_bus structures have been created.  */
static struct pci_bus* fake_pci_bus(struct pci_controller *hose, int busnr)
{
	static struct pci_bus bus;
	if (hose == 0) {
		printk(KERN_ERR "Can't find hose for PCI bus %d!\n", busnr);
	}
	bus.number = busnr;
	bus.sysdata = hose;
	bus.ops = hose? hose->ops: &null_pci_ops;
	return &bus;
}