aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-wacom.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-10-26 15:56:46 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-30 08:39:30 -0500
commitfa7c70c35a24f2c5b115004c51f3b726cc630e6d (patch)
treeeda027a86178991b1eeed90aa88c9fd1156f26b0 /hw/usb-wacom.c
parent0958b4cc8f7889b61770690fa29a1201895cf581 (diff)
downloadqemu-fa7c70c35a24f2c5b115004c51f3b726cc630e6d.zip
qemu-fa7c70c35a24f2c5b115004c51f3b726cc630e6d.tar.gz
qemu-fa7c70c35a24f2c5b115004c51f3b726cc630e6d.tar.bz2
usb-hid: use qdev for -usbdevice
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-wacom.c')
-rw-r--r--hw/usb-wacom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c
index fa97db2..ef61376 100644
--- a/hw/usb-wacom.c
+++ b/hw/usb-wacom.c
@@ -411,6 +411,7 @@ static int usb_wacom_initfn(USBDevice *dev)
static struct USBDeviceInfo wacom_info = {
.qdev.name = "QEMU PenPartner Tablet",
.qdev.alias = "wacom-tablet",
+ .usbdevice_name = "wacom-tablet",
.qdev.size = sizeof(USBWacomState),
.init = usb_wacom_initfn,
.handle_packet = usb_generic_handle_packet,