Blame 0006-usb-dev-hid-Modified-usb-tablet-category-from-Misc-t.patch

298366
From 11b0ab70a58e3e6c06dc1fd1ea318b1c5806d955 Mon Sep 17 00:00:00 2001
298366
From: Marcel Apfelbaum <marcel.a@redhat.com>
298366
Date: Thu, 22 Aug 2013 20:11:36 +0300
298366
Subject: [PATCH] usb/dev-hid: Modified usb-tablet category from Misc to Input
298366
MIME-Version: 1.0
298366
Content-Type: text/plain; charset=UTF-8
298366
Content-Transfer-Encoding: 8bit
298366
298366
usb-tablet device was wrongly assigned to Misc category
298366
298366
Reported-by: Markus Armbruster <armbru@redhat.com>
298366
Cc: qemu-stable@nongnu.org
298366
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
298366
Reviewed-by: Andreas Färber <afaerber@suse.de>
298366
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
298366
(cherry picked from commit 31efd2e883018b4c079ad082105bc161fbb3fef8)
298366
298366
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
298366
---
298366
 hw/usb/dev-hid.c | 2 +-
298366
 1 file changed, 1 insertion(+), 1 deletion(-)
298366
298366
diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c
298366
index 66c6331..5956720 100644
298366
--- a/hw/usb/dev-hid.c
298366
+++ b/hw/usb/dev-hid.c
298366
@@ -658,7 +658,7 @@ static void usb_tablet_class_initfn(ObjectClass *klass, void *data)
298366
     uc->product_desc   = "QEMU USB Tablet";
298366
     dc->vmsd = &vmstate_usb_ptr;
298366
     dc->props = usb_tablet_properties;
298366
-    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
298366
+    set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
298366
 }
298366
 
298366
 static const TypeInfo usb_tablet_info = {