qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] PATCH: fix usb-linux.c compile orror


From: Robert Reif
Subject: [Qemu-devel] PATCH: fix usb-linux.c compile orror
Date: Sun, 28 Sep 2008 14:54:17 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11

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
--- 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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]