mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
hw/avr: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ed1e71dac9
commit
47c7764bd7
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ static void atmega_realize(DeviceState *dev, Error **errp)
|
||||||
create_unimplemented_device("avr-eeprom", OFFSET_DATA + 0x03f, 3);
|
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,
|
DEFINE_PROP_UINT64("xtal-frequency-hz", AtmegaMcuState,
|
||||||
xtal_freq_hz, 0),
|
xtal_freq_hz, 0),
|
||||||
DEFINE_PROP_END_OF_LIST()
|
DEFINE_PROP_END_OF_LIST()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue