[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 62/71] hw/tricore: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 62/71] hw/tricore: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:07:36 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/tricore/tc27x_soc.c | 2 +-
hw/tricore/tricore_testdevice.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/tricore/tc27x_soc.c b/hw/tricore/tc27x_soc.c
index ecd92717b5..6f50cb5116 100644
--- a/hw/tricore/tc27x_soc.c
+++ b/hw/tricore/tc27x_soc.c
@@ -201,7 +201,7 @@ static void tc27x_soc_init(Object *obj)
object_initialize_child(obj, "tc27x", &s->cpu, sc->cpu_type);
}
-static Property tc27x_soc_properties[] = {
+static const Property tc27x_soc_properties[] = {
DEFINE_PROP_END_OF_LIST(),
};
diff --git a/hw/tricore/tricore_testdevice.c b/hw/tricore/tricore_testdevice.c
index ae95c49565..dbdcc9704e 100644
--- a/hw/tricore/tricore_testdevice.c
+++ b/hw/tricore/tricore_testdevice.c
@@ -58,7 +58,7 @@ static void tricore_testdevice_init(Object *obj)
"tricore_testdevice", 0x4);
}
-static Property tricore_testdevice_properties[] = {
+static const Property tricore_testdevice_properties[] = {
DEFINE_PROP_END_OF_LIST()
};
--
2.43.0
- Re: [PATCH 51/71] hw/riscv: Constify all Property, (continued)
- [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, 2024/12/13
- [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 <=
- [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