diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-08 14:56:53 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-03 10:41:03 -0600 |
commit | ba02430f1a681173cff5336c626d6edc5ea268db (patch) | |
tree | 74913357d1d97791c10e8f94d95ec36986a97168 /hw/usb.h | |
parent | 7f595609b49615b07c50b7182c4ef125c39cb5da (diff) |
usb: separate out legacy usb registration from type registration
Type registeration is going to get turned into a QOM call so decouple the
legacy support.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -418,9 +418,9 @@ struct USBBusOps { void usb_bus_new(USBBus *bus, USBBusOps *ops, DeviceState *host); USBBus *usb_bus_find(int busnr); -void usb_qdev_register(DeviceInfo *info, - const char *usbdevice_name, - USBDevice *(*usbdevice_init)(const char *params)); +void usb_qdev_register(DeviceInfo *info); +void usb_legacy_register(const char *typename, const char *usbdevice_name, + USBDevice *(*usbdevice_init)(const char *params)); USBDevice *usb_create(USBBus *bus, const char *name); USBDevice *usb_create_simple(USBBus *bus, const char *name); USBDevice *usbdevice_create(const char *cmdline); |