From f8d4c07c7807d0f7be02f42d2ee849d2eea4141e Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Sat, 26 Sep 2015 18:22:05 +0200 Subject: [PATCH] escc: add to input category ESCC is a serial port controller, so add it to the input category. Signed-off-by: Laurent Vivier Reviewed-by: Thomas Huth Signed-off-by: David Gibson --- hw/char/escc.c | 1 + 1 file changed, 1 insertion(+) 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 = {