aboutsummaryrefslogtreecommitdiff
path: root/hw/integratorcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/integratorcp.c')
-rw-r--r--hw/integratorcp.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/hw/integratorcp.c b/hw/integratorcp.c
index ddc8d8556f..2d83004d03 100644
--- a/hw/integratorcp.c
+++ b/hw/integratorcp.c
@@ -526,12 +526,8 @@ static SysBusDeviceInfo core_info = {
.qdev.name = "integrator_core",
.qdev.size = sizeof(integratorcm_state),
.qdev.props = (Property[]) {
- {
- .name = "memsz",
- .info = &qdev_prop_uint32,
- .offset = offsetof(integratorcm_state, memsz),
- },
- {/* end of list */}
+ DEFINE_PROP_UINT32("memsz", integratorcm_state, memsz, 0),
+ DEFINE_PROP_END_OF_LIST(),
}
};