summary refs log tree commit diff stats
path: root/hw/arm/smmu-common.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:03:52 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:27 -0600
commite15bd5dd059a8833dd30da2b78ab4f43e917f216 (patch)
treef2786f89708f59501d03f76be12addd1286752a9 /hw/arm/smmu-common.c
parentb5e4f90e64f0c2c4c3a6c65b0de11b752640e31b (diff)
downloadfocaccia-qemu-e15bd5dd059a8833dd30da2b78ab4f43e917f216.tar.gz
focaccia-qemu-e15bd5dd059a8833dd30da2b78ab4f43e917f216.zip
hw/arm: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/arm/smmu-common.c')
-rw-r--r--hw/arm/smmu-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/smmu-common.c b/hw/arm/smmu-common.c
index 3f82728758..6baa9d0fc3 100644
--- a/hw/arm/smmu-common.c
+++ b/hw/arm/smmu-common.c
@@ -934,7 +934,7 @@ static void smmu_base_reset_hold(Object *obj, ResetType type)
     g_hash_table_remove_all(s->iotlb);
 }
 
-static Property smmu_dev_properties[] = {
+static const Property smmu_dev_properties[] = {
     DEFINE_PROP_UINT8("bus_num", SMMUState, bus_num, 0),
     DEFINE_PROP_LINK("primary-bus", SMMUState, primary_bus,
                      TYPE_PCI_BUS, PCIBus *),