aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm/allwinner-a10.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/arm/allwinner-a10.h')
-rw-r--r--include/hw/arm/allwinner-a10.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h
index d13b6cf50f..a76dc7b84d 100644
--- a/include/hw/arm/allwinner-a10.h
+++ b/include/hw/arm/allwinner-a10.h
@@ -22,9 +22,7 @@
#define AW_A10_NUM_USB 2
#define TYPE_AW_A10 "allwinner-a10"
-typedef struct AwA10State AwA10State;
-DECLARE_INSTANCE_CHECKER(AwA10State, AW_A10,
- TYPE_AW_A10)
+OBJECT_DECLARE_SIMPLE_TYPE(AwA10State, AW_A10)
struct AwA10State {
/*< private >*/