aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/sparc32_dma.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/hw/sparc32_dma.c b/hw/sparc32_dma.c
index 800d5bc..7045453 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(),
}
};