patch-2.3.6 linux/drivers/usb/cpia.c

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

diff -u --recursive --new-file v2.3.5/linux/drivers/usb/cpia.c linux/drivers/usb/cpia.c
@@ -1164,7 +1164,7 @@
 		return -1;
 #endif
 
-	interface = &dev->config[0].interface[0];
+	interface = &dev->config[0].altsetting[0].interface[0];
 
 	/* Is it a CPiA? */
 /*
@@ -1260,7 +1260,7 @@
 {
 	return usb_cpia_init();
 }
-void module_cleanup(void)
+void cleanup_module(void)
 {
 }
 #endif

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