diff mbox

[v2] usb/dev-hid: Modified usb-tablet category from Misc to Input

Message ID 1377178795-18625-1-git-send-email-marcel.a@redhat.com
State New
Headers show

Commit Message

Marcel Apfelbaum Aug. 22, 2013, 1:39 p.m. UTC
usb-tablet device was wrongy assgined to Misc category

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
---
Changes from v2:
 - Add cc to qemu-stable and Gerd Hoffmann
 - Changed subject prefix from hw to usb/dev-hid

 hw/usb/dev-hid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Färber Aug. 22, 2013, 3:10 p.m. UTC | #1
Am 22.08.2013 15:39, schrieb Marcel Apfelbaum:
> usb-tablet device was wrongy assgined to Misc category
> 
> Reported-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
> Reviewed-by: Andreas Färber <afaerber@suse.de>
> ---
> Changes from v2:
>  - Add cc to qemu-stable and Gerd Hoffmann

FWIW I literally meant "Cc: qemu-stable@nongnu.org", which can be
git-grep'ed for. If the patch is picked up by a human maintainer such as
Gerd rather than Anthony's scripts that can be added by the maintainer
to spare you a v4.

>  - Changed subject prefix from hw to usb/dev-hid

Thanks,
Andreas
diff mbox

Patch

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 = {