aboutsummaryrefslogtreecommitdiff
path: root/hw/char/stm32f2xx_usart.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/stm32f2xx_usart.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/stm32f2xx_usart.c')
-rw-r--r--hw/char/stm32f2xx_usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/stm32f2xx_usart.c b/hw/char/stm32f2xx_usart.c
index 17b5b1f..4a3c30e 100644
--- a/hw/char/stm32f2xx_usart.c
+++ b/hw/char/stm32f2xx_usart.c
@@ -199,7 +199,7 @@ static const MemoryRegionOps stm32f2xx_usart_ops = {
.endianness = DEVICE_NATIVE_ENDIAN,
};
-static Property stm32f2xx_usart_properties[] = {
+static const Property stm32f2xx_usart_properties[] = {
DEFINE_PROP_CHR("chardev", STM32F2XXUsartState, chr),
DEFINE_PROP_END_OF_LIST(),
};