]> git.proxmox.com Git - qemu.git/commitdiff
usb/dev-hid: Modified usb-tablet category from Misc to Input
authorMarcel Apfelbaum <marcel.a@redhat.com>
Thu, 22 Aug 2013 17:11:36 +0000 (20:11 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Sep 2013 00:09:19 +0000 (19:09 -0500)
usb-tablet device was wrongly assigned to Misc category

Reported-by: Markus Armbruster <armbru@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 31efd2e883018b4c079ad082105bc161fbb3fef8)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/dev-hid.c

index 66c63317d633382e4ea3e2d09fb52ca1cd9bb917..59567200ae063ecd0eb5996d93c1f44ed9cecef9 100644 (file)
@@ -658,7 +658,7 @@ static void usb_tablet_class_initfn(ObjectClass *klass, void *data)
     uc->product_desc   = "QEMU USB Tablet";
     dc->vmsd = &vmstate_usb_ptr;
     dc->props = usb_tablet_properties;
-    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
+    set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
 }
 
 static const TypeInfo usb_tablet_info = {