qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] PATCH: fix usb-linux.c compile orror
@ 2008-09-28 18:54 Robert Reif
  2008-09-29 16:13 ` Anthony Liguori
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Reif @ 2008-09-28 18:54 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

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

[-- Attachment #2: usb.diff.txt --]
[-- Type: text/plain, Size: 313 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-30 22:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 18:54 [Qemu-devel] PATCH: fix usb-linux.c compile orror Robert Reif
2008-09-29 16:13 ` Anthony Liguori
2008-09-30  0:54   ` Robert Reif
2008-09-30  1:38     ` Anthony Liguori
2008-09-30 14:12       ` Vince Weaver
2008-09-30 14:54         ` Anthony Liguori
2008-09-30 22:31           ` Robert Reif

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).