summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:06:43 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:33 -0600
commit47c7764bd7255cd28a3b81a71d63c5f0bfd8bc99 (patch)
tree5620306693f755a43ddfe072380baeddf6b3ea6e
parented1e71dac96a3bf2236ece81916d4fc1ccbce029 (diff)
downloadfocaccia-qemu-47c7764bd7255cd28a3b81a71d63c5f0bfd8bc99.tar.gz
focaccia-qemu-47c7764bd7255cd28a3b81a71d63c5f0bfd8bc99.zip
hw/avr: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--hw/avr/atmega.c2
1 files changed, 1 insertions, 1 deletions
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()