Revision d210a1b4

b/hw/eccmemctl.c
340 340
    .qdev.name  = "eccmemctl",
341 341
    .qdev.size  = sizeof(ECCState),
342 342
    .qdev.props = (Property[]) {
343
        {
344
            .name   = "version",
345
            .info   = &qdev_prop_hex32,
346
            .offset = offsetof(ECCState, version),
347
            .defval = (uint32_t[]) { -1 },
348
        },
349
        {/* end of list */}
343
        DEFINE_PROP_HEX32("version", ECCState, version, -1),
344
        DEFINE_PROP_END_OF_LIST(),
350 345
    }
351 346
};
352 347

  

Also available in: Unified diff