summary refs log tree commit diff stats
path: root/hw/usb.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-10-24 18:14:06 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-10-25 09:08:09 +0200
commitd0ff81b871af3c6cf31c807dfdd480b9d1032780 (patch)
treec06aadc648e3f0fdae143a38c96af38344fb6269 /hw/usb.h
parent3151f2096dd676dc42e81ef0d55ae80780fd8769 (diff)
downloadfocaccia-qemu-d0ff81b871af3c6cf31c807dfdd480b9d1032780.tar.gz
focaccia-qemu-d0ff81b871af3c6cf31c807dfdd480b9d1032780.zip
usb: Rename __usb_packet_complete to usb_packet_complete_one
And make it available for use outside of core.c

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb.h')
-rw-r--r--hw/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb.h b/hw/usb.h
index 48c8926a76..01dd423629 100644
--- a/hw/usb.h
+++ b/hw/usb.h
@@ -370,6 +370,7 @@ USBDevice *usb_find_device(USBPort *port, uint8_t addr);
 
 int usb_handle_packet(USBDevice *dev, USBPacket *p);
 void usb_packet_complete(USBDevice *dev, USBPacket *p);
+void usb_packet_complete_one(USBDevice *dev, USBPacket *p);
 void usb_cancel_packet(USBPacket * p);
 
 void usb_ep_init(USBDevice *dev);