mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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:
parent
4aef8b63e4
commit
312f37d18a
36 changed files with 38 additions and 38 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue