]> Git Repo - qemu.git/blobdiff - hw/cpu/icc_bus.c
qdev: Pass size to qbus_create_inplace()
[qemu.git] / hw / cpu / icc_bus.c
index 8748cc5046bc4a6d2184832406b001496efb18ae..9a4ea7e2df590a66b040fcd7f4ac5a6fc2d987c8 100644 (file)
@@ -90,7 +90,8 @@ static void icc_bridge_init(Object *obj)
     ICCBridgeState *s = ICC_BRIGDE(obj);
     SysBusDevice *sb = SYS_BUS_DEVICE(obj);
 
-    qbus_create_inplace(&s->icc_bus, TYPE_ICC_BUS, DEVICE(s), "icc");
+    qbus_create_inplace(&s->icc_bus, sizeof(s->icc_bus), TYPE_ICC_BUS,
+                        DEVICE(s), "icc");
 
     /* Do not change order of registering regions,
      * APIC must be first registered region, board maps it by 0 index
This page took 0.023033 seconds and 4 git commands to generate.