patch-2.3.15 linux/drivers/usb/keyboard.c

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

diff -u --recursive --new-file v2.3.14/linux/drivers/usb/keyboard.c linux/drivers/usb/keyboard.c
@@ -176,7 +176,7 @@
     if (dev->descriptor.bNumConfigurations < 1)
 	return -1;
 
-    interface = &dev->config[0].altsetting[0].interface[0];
+    interface = &dev->config[0].interface[0].altsetting[0];
     endpoint = &interface->endpoint[0];
 
     if(interface->bInterfaceClass != 3

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