Thanks,

This does the trick.

-Dave

On Thu, Sep 28, 2000 at 09:23:29AM +0200, Arjan van de Ven wrote:
> In article <[EMAIL PROTECTED]> 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.
> 
> Greetings,
>    Arjan van de Ven
> 
> --- linux/drivers/usb/uhci.c~ Wed Sep 27 18:21:25 2000
> +++ linux/drivers/usb/uhci.c  Wed Sep 27 18:52:06 2000
> @@ -2426,7 +2426,7 @@
>       return 0;
>  }
>  
> -static int __init uhci_init(void)
> +int __init uhci_init(void)
>  {
>       int retval;
>       struct pci_dev *dev;
> --- linux/drivers/usb/usb-uhci.c~     Wed Sep 27 18:21:25 2000
> +++ linux/drivers/usb/usb-uhci.c      Wed Sep 27 18:52:09 2000
> @@ -2822,7 +2822,7 @@
>       return -1;
>  }
>  
> -static int __init uhci_init (void)
> +int __init uhci_init (void)
>  {
>       int retval = -ENODEV;
>       struct pci_dev *dev = NULL;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to