Messages in this thread |  | | From | "Dunlap, Randy" <> | Subject | RE: Linux 2.2.18pre11 | Date | Thu, 28 Sep 2000 09:39:22 -0700 |
| |
> > > In article <20000928000438.A3779@spoke.nols.com> you wrote: > > > > I'm getting this compile time error on 2.2.18pre11: > > > > > > > drivers/usb/usbdrv.o: In function `usb_init': > > > > drivers/usb/usbdrv.o(.text+0x6deb): undefined reference > to `uhci_init' > > > > > > The patch below should fix that. > > > > No it doesn't.... read the usb/uhci code. It uses initcalls. The > > solution is to remove call to uhci_init() in usb_init(). > > Ah, is this the correct fix, then? I actually booted this > one (I never > booted the other patch, just compiled it, and it works for me. :-) > > -Dave > > --- linux/drivers/usb/usb-core.c.orig Thu Sep 28 08:44:59 2000 > +++ linux/drivers/usb/usb-core.c Thu Sep 28 08:47:13 2000 > @@ -60,12 +60,6 @@ > usb_hub_init(); > > #ifndef CONFIG_USB_MODULE > -#ifdef CONFIG_USB_UHCI > - uhci_init(); > -#endif > -#ifdef CONFIG_USB_UHCI_ALT > - uhci_init(); > -#endif > #ifdef CONFIG_USB_OHCI > ohci_hcd_init(); > #endif > > -
Yes, that looks like 2.4.0-test9 now, except that it should be done for ohci also, although you don't need it for your config.
~Randy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |