projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b311963
)
ioapic: QOM cast cleanup
author
Andreas Färber
<afaerber@suse.de>
Sat, 27 Jul 2013 14:31:42 +0000
(16:31 +0200)
committer
Andreas Färber
<afaerber@suse.de>
Mon, 29 Jul 2013 19:07:02 +0000
(21:07 +0200)
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/intc/ioapic.c
patch
|
blob
|
history
diff --git
a/hw/intc/ioapic.c
b/hw/intc/ioapic.c
index
5d064fe
..
d866e00
100644
(file)
--- a/
hw/intc/ioapic.c
+++ b/
hw/intc/ioapic.c
@@
-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;
}