From 312f37d18ad53e2e62fdd2dda7c38322866d77f1 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 13 Dec 2024 15:21:28 +0000 Subject: hw/char: Constify all Property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acked-by: Alberto Garcia Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- hw/char/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/char/serial.c') diff --git a/hw/char/serial.c b/hw/char/serial.c index b50a8a1313..85dba02ace 100644 --- a/hw/char/serial.c +++ b/hw/char/serial.c @@ -964,7 +964,7 @@ const MemoryRegionOps serial_io_ops = { .endianness = DEVICE_LITTLE_ENDIAN, }; -static Property serial_properties[] = { +static const Property serial_properties[] = { DEFINE_PROP_CHR("chardev", SerialState, chr), DEFINE_PROP_UINT32("baudbase", SerialState, baudbase, 115200), DEFINE_PROP_BOOL("wakeup", SerialState, wakeup, false), -- cgit 1.4.1