Re: [PATCH] 2.6 PCI Hotplug: receive PPC64 EEH events

From: Greg KH
Date: Thu Jul 08 2004 - 01:12:02 EST


On Wed, Jul 07, 2004 at 07:06:42PM -0500, linas@xxxxxxxxxxxxxx wrote:
> On Wed, Jul 07, 2004 at 07:49:06PM -0500, Linda Xie wrote:
> > linas@xxxxxxxxxxxxxx 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?

It's in the latest -bk tree, right?

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/