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>
This commit is contained in:
parent
74623e7369
commit
f8d4c07c78
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user