aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/armv7m.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/hw/armv7m.c b/hw/armv7m.c
index 2e66d7e934..2e4f0ed805 100644
--- a/hw/armv7m.c
+++ b/hw/armv7m.c
@@ -242,12 +242,8 @@ static SysBusDeviceInfo bitband_info = {
.qdev.name = "ARM,bitband-memory",
.qdev.size = sizeof(BitBandState),
.qdev.props = (Property[]) {
- {
- .name = "base",
- .info = &qdev_prop_hex32,
- .offset = offsetof(BitBandState, base),
- },
- {/* end of list */}
+ DEFINE_PROP_UINT32("base", BitBandState, base, 0),
+ DEFINE_PROP_END_OF_LIST(),
}
};