mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
ioapic: use TYPE_FOO MACRO than constant string
Make them more QOMConventional. Cc:qemu-trivial@nongnu.org Signed-off-by: Li Qiang <liq3ea@163.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20190105023831.66910-1-liq3ea@163.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
0cd0589ecf
commit
34bec7a8d0
4 changed files with 7 additions and 4 deletions
|
@ -429,7 +429,7 @@ static void ioapic_class_init(ObjectClass *klass, void *data)
|
|||
}
|
||||
|
||||
static const TypeInfo ioapic_info = {
|
||||
.name = "ioapic",
|
||||
.name = TYPE_IOAPIC,
|
||||
.parent = TYPE_IOAPIC_COMMON,
|
||||
.instance_size = sizeof(IOAPICCommonState),
|
||||
.class_init = ioapic_class_init,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue