[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/67] hw/adc: Constify all Property
From: |
Richard Henderson |
Subject: |
[PULL 13/67] hw/adc: Constify all Property |
Date: |
Sun, 15 Dec 2024 13:04:39 -0600 |
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>
---
hw/adc/aspeed_adc.c | 2 +-
hw/adc/npcm7xx_adc.c | 2 +-
2 files changed, 2 insertions(+), 2 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(),
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(),
};
--
2.43.0
- [PULL 02/67] target/avr: Constify all Property, (continued)
- [PULL 02/67] target/avr: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 03/67] target/hexagon: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 05/67] target/microblaze: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 06/67] target/mips: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 07/67] target/riscv: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 09/67] target/sparc: Constify all Property and PropertyInfo, Richard Henderson, 2024/12/15
- [PULL 08/67] target/s390x: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 11/67] hw/9pfs: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 12/67] hw/acpi: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 10/67] cpu-target: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 13/67] hw/adc: Constify all Property,
Richard Henderson <=
- [PULL 20/67] hw/core: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 15/67] hw/audio: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 14/67] hw/arm: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 18/67] hw/block: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 16/67] hw/avr: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 23/67] hw/display: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 22/67] hw/cxl: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 21/67] hw/cpu: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 17/67] hw/block/xen-block: Unexport PropertyInfo, Richard Henderson, 2024/12/15
- [PULL 19/67] hw/char: Constify all Property, Richard Henderson, 2024/12/15