ChangeSet 1.1371.759.23, 2004/04/23 16:41:04-07:00, stern@rowland.harvard.edu [PATCH] USB: Altsetting update for USB misc drivers This is the altsetting update for the drivers under usb/misc. As you can, not much was needed at all. drivers/usb/misc/legousbtower.c | 2 +- drivers/usb/misc/uss720.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -Nru a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousbtower.c --- a/drivers/usb/misc/legousbtower.c Fri May 14 15:33:01 2004 +++ b/drivers/usb/misc/legousbtower.c Fri May 14 15:33:01 2004 @@ -704,7 +704,7 @@ dev->interrupt_out_urb = NULL; - iface_desc = &interface->altsetting[0]; + iface_desc = interface->cur_altsetting; /* set up the endpoint information */ for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) { diff -Nru a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c --- a/drivers/usb/misc/uss720.c Fri May 14 15:33:01 2004 +++ b/drivers/usb/misc/uss720.c Fri May 14 15:33:01 2004 @@ -553,7 +553,7 @@ i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); printk(KERN_DEBUG "uss720: set inteface result %d\n", i); - interface = &intf->altsetting[2]; + interface = intf->cur_altsetting; /* * Allocate parport interface