lkml.org 
[lkml]   [2000]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.2.18pre11
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.109 / U:3.408 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site