mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
ioapic: Cleanup for QOM'ification
Some cleanups: * ioapic_common.c: Rename 'register_types' to 'ioapic_common_register_types' * Replace inline 'DEVICE(s)' with local 'DeviceState *dev' variable Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
494c271784
commit
f97718584b
3 changed files with 8 additions and 4 deletions
|
@ -109,9 +109,9 @@ static const TypeInfo ioapic_common_type = {
|
|||
.abstract = true,
|
||||
};
|
||||
|
||||
static void register_types(void)
|
||||
static void ioapic_common_register_types(void)
|
||||
{
|
||||
type_register_static(&ioapic_common_type);
|
||||
}
|
||||
|
||||
type_init(register_types)
|
||||
type_init(ioapic_common_register_types)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue