Re: Linux 2.5.73

From: Alex Goddard (agoddard@purdue.edu)
Date: Sun Jun 22 2003 - 16:58:19 EST


On Sun, 22 Jun 2003, Alex Goddard wrote:

> On Sun, 22 Jun 2003, Florin Iucha wrote:
>
> > drivers/built-in.o(.text+0x3106): In function `pci_remove_bus_device':
> > : undefined reference to `pci_destroy_dev'
> >
> > pci_destroy_dev is defined under CONFIG_HOTPLUG and used outside.
> >
> > florin
> >
> > PS: I think changeset referenced in 10560659712069@kroah.com
> > causes the problem.
>
> An attempt at a fix. It just moves pci_desroy_dev outside the #ifdef).
> I have no idea if this is the correct way to fix this. It compiles okay.

Ack. Dumb-assed mistake in that one. This one shouldn't die during
compile if CONFIG_HOTPLUG is turned on. The other one defined
pci_destroy_dev() twice because I'm dumb.

It does compile (with and without hotplug) and boot.

-- 
Alex Goddard
agoddard@purdue.edu


- 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/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:39 EST