mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -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
|
@ -793,7 +793,7 @@ static const TypeInfo usb_hid_type_info = {
|
|||
.class_init = usb_hid_class_initfn,
|
||||
};
|
||||
|
||||
static Property usb_tablet_properties[] = {
|
||||
static const Property usb_tablet_properties[] = {
|
||||
DEFINE_PROP_UINT32("usb_version", USBHIDState, usb_version, 2),
|
||||
DEFINE_PROP_STRING("display", USBHIDState, display),
|
||||
DEFINE_PROP_UINT32("head", USBHIDState, head, 0),
|
||||
|
@ -818,7 +818,7 @@ static const TypeInfo usb_tablet_info = {
|
|||
.class_init = usb_tablet_class_initfn,
|
||||
};
|
||||
|
||||
static Property usb_mouse_properties[] = {
|
||||
static const Property usb_mouse_properties[] = {
|
||||
DEFINE_PROP_UINT32("usb_version", USBHIDState, usb_version, 2),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
};
|
||||
|
@ -841,7 +841,7 @@ static const TypeInfo usb_mouse_info = {
|
|||
.class_init = usb_mouse_class_initfn,
|
||||
};
|
||||
|
||||
static Property usb_keyboard_properties[] = {
|
||||
static const Property usb_keyboard_properties[] = {
|
||||
DEFINE_PROP_UINT32("usb_version", USBHIDState, usb_version, 2),
|
||||
DEFINE_PROP_STRING("display", USBHIDState, display),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue