diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-06-24 12:38:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-09 18:21:33 +0200 |
commit | 627302afb2f85cdd4b59595361876487aef19b7a (patch) | |
tree | 2ab3a7b5511ca37201a9c193d7d1fefbcde043fb /hw/usb/host-libusb.c | |
parent | f1a74bf976d52409047a187ff4ef1f3ac8c6c612 (diff) | |
download | qemu-627302afb2f85cdd4b59595361876487aef19b7a.zip qemu-627302afb2f85cdd4b59595361876487aef19b7a.tar.gz qemu-627302afb2f85cdd4b59595361876487aef19b7a.tar.bz2 |
usb: build usb-host as module
Drop one more shared library dependency (libusb) from core qemu.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-34-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb/host-libusb.c')
-rw-r--r-- | hw/usb/host-libusb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c index 2b7f878..c0f3144 100644 --- a/hw/usb/host-libusb.c +++ b/hw/usb/host-libusb.c @@ -1777,6 +1777,7 @@ static TypeInfo usb_host_dev_info = { .class_init = usb_host_class_initfn, .instance_init = usb_host_instance_init, }; +module_obj(TYPE_USB_HOST_DEVICE); static void usb_host_register_types(void) { |