diff mbox series

[62/71] hw/tricore: Constify all Property

Message ID 20241213190750.2513964-67-richard.henderson@linaro.org (mailing list archive)
State New
Headers show
Series whole-tree: Constify Property structures | expand

Commit Message

Richard Henderson Dec. 13, 2024, 7:07 p.m. UTC
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(-)

Comments

Bastian Koppelmann Dec. 14, 2024, 8:23 a.m. UTC | #1
On Fri, Dec 13, 2024 at 01:07:36PM -0600, Richard Henderson wrote:
> 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(-)

Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>

Cheers,
Bastian
diff mbox series

Patch

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()
 };