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