aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/imx25_ccm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/imx25_ccm.h')
-rw-r--r--include/hw/misc/imx25_ccm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/misc/imx25_ccm.h b/include/hw/misc/imx25_ccm.h
index 8a7a9b675f..55c5db8815 100644
--- a/include/hw/misc/imx25_ccm.h
+++ b/include/hw/misc/imx25_ccm.h
@@ -65,7 +65,8 @@
#define TYPE_IMX25_CCM "imx25.ccm"
typedef struct IMX25CCMState IMX25CCMState;
-#define IMX25_CCM(obj) OBJECT_CHECK(IMX25CCMState, (obj), TYPE_IMX25_CCM)
+DECLARE_INSTANCE_CHECKER(IMX25CCMState, IMX25_CCM,
+ TYPE_IMX25_CCM)
struct IMX25CCMState {
/* <private> */