diff options
Diffstat (limited to 'hw/arm/kzm.c')
-rw-r--r-- | hw/arm/kzm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c index 34f6bcb..0275d63 100644 --- a/hw/arm/kzm.c +++ b/hw/arm/kzm.c @@ -71,8 +71,7 @@ static void kzm_init(MachineState *machine) unsigned int alias_offset; unsigned int i; - object_initialize_child(OBJECT(machine), "soc", &s->soc, sizeof(s->soc), - TYPE_FSL_IMX31, &error_abort, NULL); + object_initialize_child(OBJECT(machine), "soc", &s->soc, TYPE_FSL_IMX31); object_property_set_bool(OBJECT(&s->soc), true, "realized", &error_fatal); |