[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 57/71] hw/sparc: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 57/71] hw/sparc: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:07:31 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/sparc/sun4m.c | 2 +-
hw/sparc/sun4m_iommu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c
index d52e6a7213..b8cce271a7 100644
--- a/hw/sparc/sun4m.c
+++ b/hw/sparc/sun4m.c
@@ -732,7 +732,7 @@ static void prom_realize(DeviceState *ds, Error **errp)
sysbus_init_mmio(dev, &s->prom);
}
-static Property prom_properties[] = {
+static const Property prom_properties[] = {
{/* end of property list */},
};
diff --git a/hw/sparc/sun4m_iommu.c b/hw/sparc/sun4m_iommu.c
index 6f765e97e4..3d6fcdf576 100644
--- a/hw/sparc/sun4m_iommu.c
+++ b/hw/sparc/sun4m_iommu.c
@@ -368,7 +368,7 @@ static void iommu_init(Object *obj)
sysbus_init_mmio(dev, &s->iomem);
}
-static Property iommu_properties[] = {
+static const Property iommu_properties[] = {
DEFINE_PROP_UINT32("version", IOMMUState, version, 0),
DEFINE_PROP_END_OF_LIST(),
};
--
2.43.0
- [PATCH 01/71] target/arm: Constify all Property, (continued)
- [PATCH 01/71] target/arm: Constify all Property, Richard Henderson, 2024/12/13
- Re: [PATCH 00/71] whole-tree: Constify Property structures, Richard Henderson, 2024/12/13
- [PATCH 48/71] hw/pci: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 51/71] hw/riscv: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 52/71] hw/rtc: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 53/71] hw/rx: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 54/71] hw/s390x: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 56/71] hw/sd: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 57/71] hw/sparc: Constify all Property,
Richard Henderson <=
- [PATCH 58/71] hw/sparc64: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 61/71] hw/tpm: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 62/71] hw/tricore: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 63/71] hw/ufs: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 03/71] target/hexagon: Constify all Property, Richard Henderson, 2024/12/13
- [PULL 2/4] tcg/riscv: Fix StoreStore barrier generation, Richard Henderson, 2024/12/13
- [PATCH 63/71] hw/ufs: Constify all Property, Richard Henderson, 2024/12/13