aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/imx7_gpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/imx7_gpr.h')
-rw-r--r--include/hw/misc/imx7_gpr.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/imx7_gpr.h b/include/hw/misc/imx7_gpr.h
index f80b3ed28c..df364bd8f0 100644
--- a/include/hw/misc/imx7_gpr.h
+++ b/include/hw/misc/imx7_gpr.h
@@ -17,9 +17,7 @@
#include "qom/object.h"
#define TYPE_IMX7_GPR "imx7.gpr"
-typedef struct IMX7GPRState IMX7GPRState;
-DECLARE_INSTANCE_CHECKER(IMX7GPRState, IMX7_GPR,
- TYPE_IMX7_GPR)
+OBJECT_DECLARE_SIMPLE_TYPE(IMX7GPRState, IMX7_GPR)
struct IMX7GPRState {
/* <private> */