lkml.org 
[lkml]   [1999]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [2.3.14] Compilation error on USB-Keyboard
> ------------------------------
>
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.023 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site