diff mbox series

[PATCHv2,4/4] sun4m: change TYPE_SUN4M_IOMMU macro from "iommu" to "sun4m-iommu"

Message ID 1509106789-8626-5-git-send-email-mark.cave-ayland@ilande.co.uk
State New
Headers show
Series sun4m: implement memory region IOMMU translation and DMA API | expand

Commit Message

Mark Cave-Ayland Oct. 27, 2017, 12:19 p.m. UTC
This is a legacy artifact from when the sun4m IOMMU implementation was
the only IOMMU available within QEMU.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
 include/hw/sparc/sun4m.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/hw/sparc/sun4m.h b/include/hw/sparc/sun4m.h
index c2d0448..c557b0d 100644
--- a/include/hw/sparc/sun4m.h
+++ b/include/hw/sparc/sun4m.h
@@ -9,7 +9,7 @@ 
 /* Devices used by sparc32 system.  */
 
 /* iommu.c */
-#define TYPE_SUN4M_IOMMU "iommu"
+#define TYPE_SUN4M_IOMMU "sun4m-iommu"
 #define SUN4M_IOMMU(obj) OBJECT_CHECK(IOMMUState, (obj), TYPE_SUN4M_IOMMU)
 
 #define TYPE_SUN4M_IOMMU_MEMORY_REGION "sun4m-iommu-memory-region"