aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/tz-mpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/tz-mpc.h')
-rw-r--r--include/hw/misc/tz-mpc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/misc/tz-mpc.h b/include/hw/misc/tz-mpc.h
index 2d3eae0834..34e45fdb97 100644
--- a/include/hw/misc/tz-mpc.h
+++ b/include/hw/misc/tz-mpc.h
@@ -36,7 +36,8 @@
#define TYPE_TZ_MPC "tz-mpc"
typedef struct TZMPC TZMPC;
-#define TZ_MPC(obj) OBJECT_CHECK(TZMPC, (obj), TYPE_TZ_MPC)
+DECLARE_INSTANCE_CHECKER(TZMPC, TZ_MPC,
+ TYPE_TZ_MPC)
#define TZ_NUM_PORTS 16