ioapic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
b311963126
commit
f54d31575d
@ -230,7 +230,7 @@ static void ioapic_init(IOAPICCommonState *s, int instance_no)
|
||||
memory_region_init_io(&s->io_memory, OBJECT(s), &ioapic_io_ops, s,
|
||||
"ioapic", 0x1000);
|
||||
|
||||
qdev_init_gpio_in(&s->busdev.qdev, ioapic_set_irq, IOAPIC_NUM_PINS);
|
||||
qdev_init_gpio_in(DEVICE(s), ioapic_set_irq, IOAPIC_NUM_PINS);
|
||||
|
||||
ioapics[instance_no] = s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user