summary refs log tree commit diff stats
path: root/hw/char/serial-mm.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:21:28 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:40 -0600
commit312f37d18ad53e2e62fdd2dda7c38322866d77f1 (patch)
treed3d293b519833462940f427f97b3ed97a6ca7558 /hw/char/serial-mm.c
parent4aef8b63e48ce459870c5ed78e86c0eaa331edac (diff)
downloadfocaccia-qemu-312f37d18ad53e2e62fdd2dda7c38322866d77f1.tar.gz
focaccia-qemu-312f37d18ad53e2e62fdd2dda7c38322866d77f1.zip
hw/char: Constify all Property
Acked-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/char/serial-mm.c')
-rw-r--r--hw/char/serial-mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/serial-mm.c b/hw/char/serial-mm.c
index 2f67776b19..8f51f1d3b8 100644
--- a/hw/char/serial-mm.c
+++ b/hw/char/serial-mm.c
@@ -125,7 +125,7 @@ static void serial_mm_instance_init(Object *o)
     qdev_alias_all_properties(DEVICE(&smm->serial), o);
 }
 
-static Property serial_mm_properties[] = {
+static const Property serial_mm_properties[] = {
     /*
      * Set the spacing between adjacent memory-mapped UART registers.
      * Each register will be at (1 << regshift) bytes after the previous one.