aboutsummaryrefslogtreecommitdiff
path: root/hw/sparc/sun4m_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sparc/sun4m_iommu.c')
-rw-r--r--hw/sparc/sun4m_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sparc/sun4m_iommu.c b/hw/sparc/sun4m_iommu.c
index ccf46a5147..71f5465249 100644
--- a/hw/sparc/sun4m_iommu.c
+++ b/hw/sparc/sun4m_iommu.c
@@ -379,7 +379,7 @@ static void iommu_class_init(ObjectClass *klass, void *data)
dc->reset = iommu_reset;
dc->vmsd = &vmstate_iommu;
- dc->props = iommu_properties;
+ device_class_set_props(dc, iommu_properties);
}
static const TypeInfo iommu_info = {