]> Git Repo - qemu.git/blobdiff - hw/char/serial-isa.c
devices: Associate devices to their logical category
[qemu.git] / hw / char / serial-isa.c
index cea8212428f4e3b58855cade016922f5cdf5ca98..5cb77b311a6b08478b517d0a39f2d858d4ce81c1 100644 (file)
@@ -102,6 +102,7 @@ static void serial_isa_class_initfn(ObjectClass *klass, void *data)
     dc->realize = serial_isa_realizefn;
     dc->vmsd = &vmstate_isa_serial;
     dc->props = serial_isa_properties;
+    set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
 }
 
 static const TypeInfo serial_isa_info = {
This page took 0.023445 seconds and 4 git commands to generate.