From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kk1PW-000209-W7 for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:54:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kk1PV-0001zm-FO for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:54:26 -0400 Received: from [199.232.76.173] (port=59006 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kk1PV-0001zj-9R for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:54:25 -0400 Received: from pop-savannah.atl.sa.earthlink.net ([207.69.195.69]:34824) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kk1PU-0000PK-At for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:54:24 -0400 Received: from user-142h2k8.cable.mindspring.com ([72.40.138.136] helo=[192.168.0.90]) by pop-savannah.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1Kk1PO-0001xi-00 for qemu-devel@nongnu.org; Sun, 28 Sep 2008 14:54:18 -0400 Message-ID: <48DFD2D9.6060205@earthlink.net> Date: Sun, 28 Sep 2008 14:54:17 -0400 From: Robert Reif MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050606040706030309080504" Subject: [Qemu-devel] PATCH: fix usb-linux.c compile orror Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------050606040706030309080504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This patch fixes the following compile error: usb-linux.c: In function `usb_linux_update_endp_table': usb-linux.c:777: error: structure has no member named `bRequestType' usb-linux.c:778: error: structure has no member named `bRequest' usb-linux.c:779: error: structure has no member named `wValue' usb-linux.c:780: error: structure has no member named `wIndex' usb-linux.c:781: error: structure has no member named `wLength' usb-linux.c:818: error: structure has no member named `bRequestType' usb-linux.c:819: error: structure has no member named `bRequest' usb-linux.c:820: error: structure has no member named `wValue' usb-linux.c:821: error: structure has no member named `wIndex' usb-linux.c:822: error: structure has no member named `wLength' make: *** [usb-linux.o] Error 1 --------------050606040706030309080504 Content-Type: text/plain; name="usb.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="usb.diff.txt" --- usb-linux.c (revision 5338) +++ usb-linux.c (working copy) @@ -771,7 +771,7 @@ { uint8_t *descriptors; uint8_t devep, type, configuration, alt_interface; - struct usbdevfs_ctrltransfer ct; + struct usb_ctrltransfer ct; int interface, ret, length, i; ct.bRequestType = USB_DIR_IN; --------------050606040706030309080504--