]> Git Repo - qemu.git/commitdiff
escc: add to input category
authorLaurent Vivier <[email protected]>
Sat, 26 Sep 2015 16:22:05 +0000 (18:22 +0200)
committerDavid Gibson <[email protected]>
Fri, 23 Oct 2015 01:35:17 +0000 (12:35 +1100)
ESCC is a serial port controller, so add it
to the input category.

Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/char/escc.c

index ba653efd6851d3be1fcd7f6e949faffef3d46143..9816154206252f5e8c4eea8360c1cf5a76a3feac 100644 (file)
@@ -1035,6 +1035,7 @@ static void escc_class_init(ObjectClass *klass, void *data)
     dc->reset = escc_reset;
     dc->vmsd = &vmstate_escc;
     dc->props = escc_properties;
+    set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
 }
 
 static const TypeInfo escc_info = {
This page took 0.02916 seconds and 4 git commands to generate.