mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/arm: Use TYPE_ARM_SMMUV3
Use the macro instead of two explicit string literals. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-id: 20230124232059.4017615-1-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
bf4460a8d9
commit
a431ab0e4e
2 changed files with 3 additions and 2 deletions
|
@ -1343,7 +1343,7 @@ static void create_smmu(const VirtMachineState *vms,
|
|||
return;
|
||||
}
|
||||
|
||||
dev = qdev_new("arm-smmuv3");
|
||||
dev = qdev_new(TYPE_ARM_SMMUV3);
|
||||
|
||||
object_property_set_link(OBJECT(dev), "primary-bus", OBJECT(bus),
|
||||
&error_abort);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue