Messages in this thread Patch in this message | | | From | "Adam J. Richter" <> | Date | Thu, 28 Oct 1999 04:34:04 -0700 | Subject | Patch: 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/
| |