aboutsummaryrefslogtreecommitdiff
path: root/hw/char/sh_serial.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/sh_serial.c
parent4aef8b63e48ce459870c5ed78e86c0eaa331edac (diff)
downloadqemu-312f37d18ad53e2e62fdd2dda7c38322866d77f1.zip
qemu-312f37d18ad53e2e62fdd2dda7c38322866d77f1.tar.gz
qemu-312f37d18ad53e2e62fdd2dda7c38322866d77f1.tar.bz2
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/sh_serial.c')
-rw-r--r--hw/char/sh_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/sh_serial.c b/hw/char/sh_serial.c
index 429b256..2ab7197 100644
--- a/hw/char/sh_serial.c
+++ b/hw/char/sh_serial.c
@@ -447,7 +447,7 @@ static void sh_serial_init(Object *obj)
{
}
-static Property sh_serial_properties[] = {
+static const Property sh_serial_properties[] = {
DEFINE_PROP_CHR("chardev", SHSerialState, chr),
DEFINE_PROP_UINT8("features", SHSerialState, feat, 0),
DEFINE_PROP_END_OF_LIST()