Re: [PATCH] [2.3.14] Compilation error on USB-Keyboard

Gilbert Ramirez (gram@xiexie.org)
Fri, 20 Aug 1999 01:30:01 -0500


> ------------------------------
>
> From: Satoshi Nagayasu <snaga@oak.forus.or.jp>
> Date: 20 Aug 1999 03:52:44 +0900
> Subject: [PATCH] [2.3.14] Compilation error on USB-Keyboard
>
> - --- keyboard.c- Fri Aug 20 03:46:02 1999
> +++ keyboard.c Fri Aug 20 03:47:03 1999
> @@ -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
>
> - --
> NAGAYASU Satoshi <snaga@oak.forus.or.jp>

In 2.3.14, the same altsetting/interface swap is needed in
drivers/sub/usb_scsi.c, on lines 1111-1113, and 1146.

--gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/