patch-2.3.25 linux/drivers/usb/ohci-hcd.c

Next file: linux/drivers/usb/printer.c
Previous file: linux/drivers/usb/mouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/drivers/usb/ohci-hcd.c linux/drivers/usb/ohci-hcd.c
@@ -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);
 	}		
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)