aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/lm32_timer.c')
-rw-r--r--hw/timer/lm32_timer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c
index 93ecb51a97..be87c65b3e 100644
--- a/hw/timer/lm32_timer.c
+++ b/hw/timer/lm32_timer.c
@@ -56,9 +56,7 @@ enum {
};
#define TYPE_LM32_TIMER "lm32-timer"
-typedef struct LM32TimerState LM32TimerState;
-DECLARE_INSTANCE_CHECKER(LM32TimerState, LM32_TIMER,
- TYPE_LM32_TIMER)
+OBJECT_DECLARE_SIMPLE_TYPE(LM32TimerState, LM32_TIMER)
struct LM32TimerState {
SysBusDevice parent_obj;