mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
openpic: add to misc category
openpic is a programmable interrupt controller, so add it to the misc 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
175fe9e7c8
commit
29f8dd66e8
2 changed files with 2 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue