aboutsummaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-28 18:22:59 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-28 18:22:59 +0000
commite41b39105b2ab0db2c10c53043f1352a762af40d (patch)
treeac1e8e9dca28036fe82ab0d356bd1af1d7cd6f6b /usb-linux.c
parent1572a18cc6d7ba6fddfe78ebfecaef7d1def1f0b (diff)
Use locally defined structure.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5569 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-linux.c b/usb-linux.c
index c2a45304bb..eeefc84563 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -788,7 +788,7 @@ static int usb_linux_update_endp_table(USBHostDevice *s)
{
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;