diff options
Diffstat (limited to 'hw/timer/mss-timer.c')
-rw-r--r-- | hw/timer/mss-timer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/timer/mss-timer.c b/hw/timer/mss-timer.c index b66aed5..2ce8211 100644 --- a/hw/timer/mss-timer.c +++ b/hw/timer/mss-timer.c @@ -279,14 +279,13 @@ static const VMStateDescription vmstate_mss_timer = { } }; -static Property mss_timer_properties[] = { +static const Property mss_timer_properties[] = { /* Libero GUI shows 100Mhz as default for clocks */ DEFINE_PROP_UINT32("clock-frequency", MSSTimerState, freq_hz, 100 * 1000000), - DEFINE_PROP_END_OF_LIST(), }; -static void mss_timer_class_init(ObjectClass *klass, void *data) +static void mss_timer_class_init(ObjectClass *klass, const void *data) { DeviceClass *dc = DEVICE_CLASS(klass); |