mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/rtc: 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
766bade2da
commit
93c9015bc5
6 changed files with 6 additions and 6 deletions
|
@ -960,7 +960,7 @@ MC146818RtcState *mc146818_rtc_init(ISABus *bus, int base_year,
|
|||
return s;
|
||||
}
|
||||
|
||||
static Property mc146818rtc_properties[] = {
|
||||
static const Property mc146818rtc_properties[] = {
|
||||
DEFINE_PROP_INT32("base_year", MC146818RtcState, base_year, 1980),
|
||||
DEFINE_PROP_UINT16("iobase", MC146818RtcState, io_base, RTC_ISA_BASE),
|
||||
DEFINE_PROP_UINT8("irq", MC146818RtcState, isairq, RTC_ISA_IRQ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue