mirror of
https://github.com/qemu/qemu.git
synced 2025-08-13 10:40:14 +00:00
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>
This commit is contained in:
parent
c76bc08df2
commit
b5e4f90e64
@ -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(),
|
||||
|
@ -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(),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user