patch-2.3.14 linux/drivers/usb/printer.c

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

diff -u --recursive --new-file v2.3.13/linux/drivers/usb/printer.c linux/drivers/usb/printer.c
@@ -266,7 +266,7 @@
 		return -1;
 	}
 
-	interface = dev->config->altsetting->interface;
+	interface = &dev->config[0].interface[0].altsetting[0];
 
 	/* Lets be paranoid (for the moment)*/
 	if (interface->bInterfaceClass != 7 ||

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