summary refs log tree commit diff stats
path: root/hw/usb/dev-serial.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 17:26:45 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:34 -0600
commit44f2f4bc3005eb48ebabea4f33466498db3ea0f2 (patch)
tree69d7c0d10486959ffbfd25002b5ee4a7a60a3a02 /hw/usb/dev-serial.c
parent35d71fd9cea66b0c66d94b9e29bfb85781ad6e7f (diff)
downloadfocaccia-qemu-44f2f4bc3005eb48ebabea4f33466498db3ea0f2.tar.gz
focaccia-qemu-44f2f4bc3005eb48ebabea4f33466498db3ea0f2.zip
hw/usb: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/usb/dev-serial.c')
-rw-r--r--hw/usb/dev-serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb/dev-serial.c b/hw/usb/dev-serial.c
index 63047d79cf..0c3e9160ec 100644
--- a/hw/usb/dev-serial.c
+++ b/hw/usb/dev-serial.c
@@ -634,7 +634,7 @@ static const VMStateDescription vmstate_usb_serial = {
     .unmigratable = 1,
 };
 
-static Property serial_properties[] = {
+static const Property serial_properties[] = {
     DEFINE_PROP_CHR("chardev", USBSerialState, cs),
     DEFINE_PROP_BOOL("always-plugged", USBSerialState, always_plugged, false),
     DEFINE_PROP_END_OF_LIST(),
@@ -677,7 +677,7 @@ static const TypeInfo serial_info = {
     .class_init    = usb_serial_class_initfn,
 };
 
-static Property braille_properties[] = {
+static const Property braille_properties[] = {
     DEFINE_PROP_CHR("chardev", USBSerialState, cs),
     DEFINE_PROP_END_OF_LIST(),
 };