qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PULL 16/67] hw/avr: Constify all Property


From: Richard Henderson
Subject: [PULL 16/67] hw/avr: Constify all Property
Date: Sun, 15 Dec 2024 13:04:42 -0600

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]