lkml.org 
[lkml]   [1999]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectPatch: linux-2.3.24/drivers/usb/ohci-hcd.c does not compile as a module

The subject line says it all. The problem is some minor
structure being in the cleanup_module routine when a pointer to the
structure was supposed to be passed. Here is the two line patch.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."


--- linux-2.3.24/drivers/usb/ohci-hcd.c Wed Oct 27 14:04:25 1999
+++ linux/drivers/usb/ohci-hcd.c Thu Oct 28 04:27:35 1999
@@ -1540,8 +1540,8 @@
# endif
while(!list_empty(&ohci_hcd_list)) {
ohci = list_entry(ohci_hcd_list.next, struct ohci, ohci_hcd_list);
- list_del(ohci->ohci_hcd_list);
- INIT_LIST_HEAD(ohci->ohci_hcd_list);
+ list_del(&ohci->ohci_hcd_list);
+ INIT_LIST_HEAD(&ohci->ohci_hcd_list);
release_ohci(ohci);
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.075 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site