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>
This commit is contained in:
Richard Henderson 2024-12-13 15:21:28 +00:00
parent 4aef8b63e4
commit 312f37d18a
36 changed files with 38 additions and 38 deletions

View file

@ -333,7 +333,7 @@ static void console_reset(DeviceState *dev)
scon->write_errors = 0;
}
static Property console_properties[] = {
static const Property console_properties[] = {
DEFINE_PROP_CHR("chardev", SCLPConsoleLM, chr),
DEFINE_PROP_UINT32("write_errors", SCLPConsoleLM, write_errors, 0),
DEFINE_PROP_BOOL("echo", SCLPConsoleLM, echo, true),