aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm/digic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/arm/digic.h')
-rw-r--r--include/hw/arm/digic.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/arm/digic.h b/include/hw/arm/digic.h
index f3ba398914..8f2735c284 100644
--- a/include/hw/arm/digic.h
+++ b/include/hw/arm/digic.h
@@ -25,9 +25,7 @@
#define TYPE_DIGIC "digic"
-typedef struct DigicState DigicState;
-DECLARE_INSTANCE_CHECKER(DigicState, DIGIC,
- TYPE_DIGIC)
+OBJECT_DECLARE_SIMPLE_TYPE(DigicState, DIGIC)
#define DIGIC4_NB_TIMERS 3