diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c index 800d5bcfd4941b1b1912dcc4370b01177a73ed39..7045453668554ce85fa27c3540dfd80456e240e5 100644 --- a/hw/sparc32_dma.c +++ b/hw/sparc32_dma.c @@ -266,12 +266,8 @@ static SysBusDeviceInfo sparc32_dma_info = { .qdev.name = "sparc32_dma", .qdev.size = sizeof(DMAState), .qdev.props = (Property[]) { - { - .name = "iommu_opaque", - .info = &qdev_prop_ptr, - .offset = offsetof(DMAState, iommu), - }, - {/* end of property list */} + DEFINE_PROP_PTR("iommu_opaque", DMAState, iommu), + DEFINE_PROP_END_OF_LIST(), } };