diff options
Diffstat (limited to 'hw/arm_mptimer.c')
-rw-r--r-- | hw/arm_mptimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_mptimer.c b/hw/arm_mptimer.c index cdfd62363e..32817d3814 100644 --- a/hw/arm_mptimer.c +++ b/hw/arm_mptimer.c @@ -238,7 +238,7 @@ static void timerblock_reset(timerblock *tb) static void arm_mptimer_reset(DeviceState *dev) { arm_mptimer_state *s = - FROM_SYSBUS(arm_mptimer_state, sysbus_from_qdev(dev)); + FROM_SYSBUS(arm_mptimer_state, SYS_BUS_DEVICE(dev)); int i; /* We reset every timer in the array, not just the ones we're using, * because vmsave will look at every array element. |