qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]