Skip to content

Commit

Permalink
ioapic: Replace FROM_SYSBUS() with QOM type cast
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
  • Loading branch information
Igor Mammedov authored and afaerber committed Apr 15, 2013
1 parent f1fc3e6 commit f16a69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/intc/ioapic_common.c
Expand Up @@ -59,7 +59,7 @@ static int ioapic_dispatch_post_load(void *opaque, int version_id)

static int ioapic_init_common(SysBusDevice *dev)
{
IOAPICCommonState *s = FROM_SYSBUS(IOAPICCommonState, dev);
IOAPICCommonState *s = IOAPIC_COMMON(dev);
IOAPICCommonClass *info;
static int ioapic_no;

Expand Down

0 comments on commit f16a69f

Please sign in to comment.