summary refs log tree commit diff stats
path: root/hw/adc/npcm7xx_adc.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 14:59:51 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:25 -0600
commitb5e4f90e64f0c2c4c3a6c65b0de11b752640e31b (patch)
tree1898416618d8aca68caf6257dfac5e654aad361f /hw/adc/npcm7xx_adc.c
parentc76bc08df2c05bdfa561f3486d38800718212d10 (diff)
downloadfocaccia-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/npcm7xx_adc.c')
-rw-r--r--hw/adc/npcm7xx_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/adc/npcm7xx_adc.c b/hw/adc/npcm7xx_adc.c
index de8469dae4..1781ff4c0b 100644
--- a/hw/adc/npcm7xx_adc.c
+++ b/hw/adc/npcm7xx_adc.c
@@ -267,7 +267,7 @@ static const VMStateDescription vmstate_npcm7xx_adc = {
     },
 };
 
-static Property npcm7xx_timer_properties[] = {
+static const Property npcm7xx_timer_properties[] = {
     DEFINE_PROP_UINT32("iref", NPCM7xxADCState, iref, NPCM7XX_ADC_DEFAULT_IREF),
     DEFINE_PROP_END_OF_LIST(),
 };