aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/digic-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/digic-timer.c')
-rw-r--r--hw/timer/digic-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/digic-timer.c b/hw/timer/digic-timer.c
index 0f21faf876..e1fcf73c3e 100644
--- a/hw/timer/digic-timer.c
+++ b/hw/timer/digic-timer.c
@@ -127,7 +127,7 @@ static void digic_timer_init(Object *obj)
{
DigicTimerState *s = DIGIC_TIMER(obj);
- s->ptimer = ptimer_init(NULL);
+ s->ptimer = ptimer_init(NULL, PTIMER_POLICY_DEFAULT);
/*
* FIXME: there is no documentation on Digic timer