diff options
-rw-r--r-- | hw/armv7m.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/hw/armv7m.c b/hw/armv7m.c index 2e66d7e..2e4f0ed 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(), } }; |