mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
sparc32_dma: rename SPARC32_DMA type to SPARC32_DMA_DEVICE
Also update the function names to match as appropriate. While we're here rename the type from sparc32_dma to sparc32-dma in order to match the current QOM convention. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
7fa00e2049
commit
6a1f53f0fe
2 changed files with 35 additions and 34 deletions
|
@ -312,7 +312,7 @@ static void *sparc32_dma_init(hwaddr daddr, qemu_irq parent_irq,
|
|||
DeviceState *dev;
|
||||
SysBusDevice *s;
|
||||
|
||||
dev = qdev_create(NULL, "sparc32_dma");
|
||||
dev = qdev_create(NULL, "sparc32-dma-device");
|
||||
qdev_prop_set_ptr(dev, "iommu_opaque", iommu);
|
||||
qdev_prop_set_uint32(dev, "is_ledma", is_ledma);
|
||||
qdev_init_nofail(dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue