Commit 29f8dd66 authored by Laurent Vivier's avatar Laurent Vivier Committed by David Gibson
Browse files

openpic: add to misc category



openpic is a programmable interrupt controller, so
add it to the misc category.

Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 175fe9e7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1643,6 +1643,7 @@ static void openpic_class_init(ObjectClass *oc, void *data)
    dc->props = openpic_properties;
    dc->reset = openpic_reset;
    dc->vmsd = &vmstate_openpic;
    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}

static const TypeInfo openpic_info = {
+1 −0
Original line number Diff line number Diff line
@@ -275,6 +275,7 @@ static void kvm_openpic_class_init(ObjectClass *oc, void *data)
    dc->realize = kvm_openpic_realize;
    dc->props = kvm_openpic_properties;
    dc->reset = kvm_openpic_reset;
    set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}

static const TypeInfo kvm_openpic_info = {