diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 17:26:45 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:56:34 -0600 |
| commit | 44f2f4bc3005eb48ebabea4f33466498db3ea0f2 (patch) | |
| tree | 69d7c0d10486959ffbfd25002b5ee4a7a60a3a02 /hw/usb/hcd-ehci-pci.c | |
| parent | 35d71fd9cea66b0c66d94b9e29bfb85781ad6e7f (diff) | |
| download | focaccia-qemu-44f2f4bc3005eb48ebabea4f33466498db3ea0f2.tar.gz focaccia-qemu-44f2f4bc3005eb48ebabea4f33466498db3ea0f2.zip | |
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-ehci-pci.c')
| -rw-r--r-- | hw/usb/hcd-ehci-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-ehci-pci.c b/hw/usb/hcd-ehci-pci.c index dd06451e23..374f25c5ed 100644 --- a/hw/usb/hcd-ehci-pci.c +++ b/hw/usb/hcd-ehci-pci.c @@ -135,7 +135,7 @@ static void usb_ehci_pci_write_config(PCIDevice *dev, uint32_t addr, i->ehci.as = busmaster ? pci_get_address_space(dev) : &address_space_memory; } -static Property ehci_pci_properties[] = { +static const Property ehci_pci_properties[] = { DEFINE_PROP_UINT32("maxframes", EHCIPCIState, ehci.maxframes, 128), DEFINE_PROP_END_OF_LIST(), }; |