[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 06/38] usb/dev-hid: Modified usb-tablet category fro

From: Michael Roth
Subject: [Qemu-devel] [PATCH 06/38] usb/dev-hid: Modified usb-tablet category from Misc to Input
Date: Wed, 25 Sep 2013 07:57:34 -0500

From: Marcel Apfelbaum <address@hidden>

usb-tablet device was wrongly assigned to Misc category

Reported-by: Markus Armbruster <address@hidden>
Cc: address@hidden
Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
(cherry picked from commit 31efd2e883018b4c079ad082105bc161fbb3fef8)

Signed-off-by: Michael Roth <address@hidden>
 hw/usb/dev-hid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c
index 66c6331..5956720 100644
--- a/hw/usb/dev-hid.c
+++ b/hw/usb/dev-hid.c
@@ -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 = {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]