Messages in this thread | | | Date | Wed, 7 Jul 2004 19:06:42 -0500 | From | linas@austin ... | Subject | Re: [PATCH] 2.6 PCI Hotplug: receive PPC64 EEH events |
| |
On Wed, Jul 07, 2004 at 07:49:06PM -0500, Linda Xie wrote: > linas@austin.ibm.com wrote: > > > } > > sprintf(child_bus->name, "PCI Bus #%02x", child_bus->number); > > /* do pci_scan_child_bus */ > >- pci_scan_child_bus(child_bus); > >+ // pci_scan_child_bus(child_bus); > > > Why remove pci_scan_child_bus call?
Because it won't compile otherwise. (Actually, I didn't mean to leave that in the patch, it was a work-around to get my tree to compile).
pci_scan_child_bus() is currently defined only as a static fuction in drivers/pci/probe.c and thus cannot be called outside of that file. Maybe there's a patch to drivers/pci/probe.c that hasn't been applied yet?
--linas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |