diff options
author | Laurent Vivier <laurent@vivier.eu> | 2015-09-26 18:22:05 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2015-10-23 12:35:17 +1100 |
commit | f8d4c07c7807d0f7be02f42d2ee849d2eea4141e (patch) | |
tree | e927f8b49101fa680d286670677937881aa178ae /hw/char | |
parent | 74623e7369b175fa324421f4c0047d06da3baafc (diff) | |
download | qemu-f8d4c07c7807d0f7be02f42d2ee849d2eea4141e.tar.gz qemu-f8d4c07c7807d0f7be02f42d2ee849d2eea4141e.tar.bz2 qemu-f8d4c07c7807d0f7be02f42d2ee849d2eea4141e.zip |
escc: add to input category
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>
Diffstat (limited to 'hw/char')
-rw-r--r-- | hw/char/escc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/char/escc.c b/hw/char/escc.c index ba653efd68..9816154206 100644 --- 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 = { |