mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/usb: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
35d71fd9ce
commit
44f2f4bc30
27 changed files with 32 additions and 32 deletions
|
@ -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(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue