[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/71] hw/avr: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 17/71] hw/avr: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:06:51 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/avr/atmega.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/avr/atmega.c b/hw/avr/atmega.c
index 31c8992d75..ce630ec572 100644
--- a/hw/avr/atmega.c
+++ b/hw/avr/atmega.c
@@ -355,7 +355,7 @@ static void atmega_realize(DeviceState *dev, Error **errp)
create_unimplemented_device("avr-eeprom", OFFSET_DATA + 0x03f, 3);
}
-static Property atmega_props[] = {
+static const Property atmega_props[] = {
DEFINE_PROP_UINT64("xtal-frequency-hz", AtmegaMcuState,
xtal_freq_hz, 0),
DEFINE_PROP_END_OF_LIST()
--
2.43.0
- [PATCH 11/71] cpu-target: Constify all Property, (continued)
- [PATCH 11/71] cpu-target: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 10/71] target/sparc: Constify all Property and PropertyInfo, Richard Henderson, 2024/12/13
- [PATCH 13/71] hw/acpi: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 12/71] hw/9pfs: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 14/71] hw/adc: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 18/71] hw/block/xen-block: Unexport PropertyInfo, Richard Henderson, 2024/12/13
- [PATCH 17/71] hw/avr: Constify all Property,
Richard Henderson <=
- [PATCH 15/71] hw/arm: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 19/71] hw/block: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 16/71] hw/audio: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 20/71] hw/char: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 22/71] hw/cpu: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 21/71] hw/core: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 24/71] hw/display: Constify all Property, Richard Henderson, 2024/12/13