diff mbox series

[11/71] cpu-target: Constify all Property

Message ID 20241213190750.2513964-16-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:06 p.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 cpu-target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/cpu-target.c b/cpu-target.c
index 499facf774..2ae07a779e 100644
--- a/cpu-target.c
+++ b/cpu-target.c
@@ -183,7 +183,7 @@  void cpu_exec_unrealizefn(CPUState *cpu)
  * This can't go in hw/core/cpu.c because that file is compiled only
  * once for both user-mode and system builds.
  */
-static Property cpu_common_props[] = {
+static const Property cpu_common_props[] = {
 #ifdef CONFIG_USER_ONLY
     /*
      * Create a property for the user-only object, so users can