diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:32:51 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:51 -0600 |
| commit | 196fd15f31d986e5a9c5da84988fa4597f30623b (patch) | |
| tree | 42ff4c60821284b2ad5ed87330e853f2718fd4c4 /hw/pci-bridge/cxl_root_port.c | |
| parent | 2839136833257542704695be10b19c77c927acc4 (diff) | |
| download | focaccia-qemu-196fd15f31d986e5a9c5da84988fa4597f30623b.tar.gz focaccia-qemu-196fd15f31d986e5a9c5da84988fa4597f30623b.zip | |
hw/pci-bridge: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/pci-bridge/cxl_root_port.c')
| -rw-r--r-- | hw/pci-bridge/cxl_root_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-bridge/cxl_root_port.c b/hw/pci-bridge/cxl_root_port.c index 5e2156d7ba..5824ba3c75 100644 --- a/hw/pci-bridge/cxl_root_port.c +++ b/hw/pci-bridge/cxl_root_port.c @@ -199,7 +199,7 @@ static void cxl_rp_reset_hold(Object *obj, ResetType type) latch_registers(crp); } -static Property gen_rp_props[] = { +static const Property gen_rp_props[] = { DEFINE_PROP_UINT32("bus-reserve", CXLRootPort, res_reserve.bus, -1), DEFINE_PROP_SIZE("io-reserve", CXLRootPort, res_reserve.io, -1), DEFINE_PROP_SIZE("mem-reserve", CXLRootPort, res_reserve.mem_non_pref, -1), |