Skip to contentSkip to conversation

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

PATCH In review Marcel Apfelbaum 3 participants 4 messages Aug 22, 2013 – Aug 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 usb/dev-hid: Modified usb-tablet category from Misc to Input

usb-tablet device was wrongly assigned to Misc category

---
Changes from v3:
- Added "Cc: [email protected]" this time in the sign-off area ...
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
index 66c6331..5956720 100644
@@ -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
Reviewed-by on v4 1/1
#1 lore raw
Quoted 6 lines · Marcel Apfelbaum

usb-tablet device was wrongly assigned to Misc category

Quoted 27 lines

---
Changes from v3:
- Added "Cc: [email protected]" this time in the sign-off area ...
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
index 66c6331..5956720 100644
@@ -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
#2 lore raw
Quoted 9 lines · Michael S. Tsirkin
Quoted 6 lines · Marcel Apfelbaum

usb-tablet device was wrongly assigned to Misc category

pull? :)
Marcel

Quoted 28 lines
Quoted 28 lines

---
Changes from v3:
- Added "Cc: [email protected]" this time in the sign-off area ...
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
index 66c6331..5956720 100644
@@ -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