diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 14:59:51 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:54:25 -0600 |
| commit | b5e4f90e64f0c2c4c3a6c65b0de11b752640e31b (patch) | |
| tree | 1898416618d8aca68caf6257dfac5e654aad361f /hw/adc/aspeed_adc.c | |
| parent | c76bc08df2c05bdfa561f3486d38800718212d10 (diff) | |
| download | focaccia-qemu-b5e4f90e64f0c2c4c3a6c65b0de11b752640e31b.tar.gz focaccia-qemu-b5e4f90e64f0c2c4c3a6c65b0de11b752640e31b.zip | |
hw/adc: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/adc/aspeed_adc.c')
| -rw-r--r-- | hw/adc/aspeed_adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/adc/aspeed_adc.c b/hw/adc/aspeed_adc.c index 598f2bdf48..f94c6f2be3 100644 --- a/hw/adc/aspeed_adc.c +++ b/hw/adc/aspeed_adc.c @@ -286,7 +286,7 @@ static const VMStateDescription vmstate_aspeed_adc_engine = { } }; -static Property aspeed_adc_engine_properties[] = { +static const Property aspeed_adc_engine_properties[] = { DEFINE_PROP_UINT32("engine-id", AspeedADCEngineState, engine_id, 0), DEFINE_PROP_UINT32("nr-channels", AspeedADCEngineState, nr_channels, 0), DEFINE_PROP_END_OF_LIST(), |