projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74623e7
)
escc: add to input category
author
Laurent Vivier
<laurent@vivier.eu>
Sat, 26 Sep 2015 16:22:05 +0000
(18:22 +0200)
committer
David Gibson
<david@gibson.dropbear.id.au>
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 <laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/char/escc.c
patch
|
blob
|
history
diff --git
a/hw/char/escc.c
b/hw/char/escc.c
index ba653efd6851d3be1fcd7f6e949faffef3d46143..9816154206252f5e8c4eea8360c1cf5a76a3feac 100644
(file)
--- a/
hw/char/escc.c
+++ b/
hw/char/escc.c
@@
-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 = {