aboutsummaryrefslogtreecommitdiff
path: root/include/hw/timer/imx_epit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/timer/imx_epit.h')
-rw-r--r--include/hw/timer/imx_epit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/timer/imx_epit.h b/include/hw/timer/imx_epit.h
index 1ca110caf5..39bcf81331 100644
--- a/include/hw/timer/imx_epit.h
+++ b/include/hw/timer/imx_epit.h
@@ -57,7 +57,8 @@
#define TYPE_IMX_EPIT "imx.epit"
typedef struct IMXEPITState IMXEPITState;
-#define IMX_EPIT(obj) OBJECT_CHECK(IMXEPITState, (obj), TYPE_IMX_EPIT)
+DECLARE_INSTANCE_CHECKER(IMXEPITState, IMX_EPIT,
+ TYPE_IMX_EPIT)
struct IMXEPITState {
/*< private >*/