aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-dwc2.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 17:26:45 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:34 -0600
commit44f2f4bc3005eb48ebabea4f33466498db3ea0f2 (patch)
tree69d7c0d10486959ffbfd25002b5ee4a7a60a3a02 /hw/usb/hcd-dwc2.c
parent35d71fd9cea66b0c66d94b9e29bfb85781ad6e7f (diff)
downloadqemu-44f2f4bc3005eb48ebabea4f33466498db3ea0f2.zip
qemu-44f2f4bc3005eb48ebabea4f33466498db3ea0f2.tar.gz
qemu-44f2f4bc3005eb48ebabea4f33466498db3ea0f2.tar.bz2
hw/usb: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/usb/hcd-dwc2.c')
-rw-r--r--hw/usb/hcd-dwc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-dwc2.c b/hw/usb/hcd-dwc2.c
index b4f0652..6a10f3e 100644
--- a/hw/usb/hcd-dwc2.c
+++ b/hw/usb/hcd-dwc2.c
@@ -1448,7 +1448,7 @@ const VMStateDescription vmstate_dwc2_state = {
}
};
-static Property dwc2_usb_properties[] = {
+static const Property dwc2_usb_properties[] = {
DEFINE_PROP_UINT32("usb_version", DWC2State, usb_version, 2),
DEFINE_PROP_END_OF_LIST(),
};