usb/dev-hid: Modified usb-tablet category from Misc to Input
PATCH v3 1/1 usb/dev-hid: Modified usb-tablet category from Misc to Input
usb-tablet device was wrongly assigned to Misc category
Reported-by Markus Armbruster <[email protected]>
Signed-off-by Marcel Apfelbaum <[email protected]>
Reviewed-by Andreas Färber <[email protected]>
---
Changes from v2:
- Corrected spelling
Changes from v1:
- 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(-)
hw/usb/dev-hid.c +1 -1
@@ -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 = {
Signature · 1 line
1.8.3.1
Quoted 5 lines · Marcel Apfelbaum
usb-tablet device was wrongly assigned to Misc category
Reported-by Markus Armbruster <[email protected]>Signed-off-by Marcel Apfelbaum <[email protected]>Reviewed-by Andreas Färber <[email protected]>
Reviewed-by Michael S. Tsirkin <[email protected]>
Quoted 25 lines
---
Changes from v2:
- Corrected spelling
Changes from v1:
- Add cc to qemu-stable and Gerd Hoffmann
- Changed subject prefix from hw to usb/dev-hidhw/usb/dev-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/usb/dev-hid.c +1
-1@@ -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 = {Signature · 1 line
1.8.3.1