Re: Linux 2.2.18pre11

From: David Rees (dbr@spoke.nols.com)
Date: Thu Sep 28 2000 - 02:58:09 EST


Thanks,

This does the trick.

-Dave

On Thu, Sep 28, 2000 at 09:23:29AM +0200, Arjan van de Ven wrote:
> 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.
>
> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:21 EST