diff options
-rw-r--r-- | hw/etraxfs_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c index 8ec147cc40..08a6f18384 100644 --- a/hw/etraxfs_timer.c +++ b/hw/etraxfs_timer.c @@ -180,8 +180,9 @@ static void timer_update_irq(struct fs_timer_t *t) qemu_irq_lower(t->irq[0]); } -static void timer_hit(struct fs_timer_t *t) +static void timer_hit(void *opaque) { + struct fs_timer_t *t = opaque; t->r_intr |= 1; timer_update_irq(t); } |