aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/tz-ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/tz-ppc.h')
-rw-r--r--include/hw/misc/tz-ppc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/misc/tz-ppc.h b/include/hw/misc/tz-ppc.h
index 4646005fa5..b5251b715e 100644
--- a/include/hw/misc/tz-ppc.h
+++ b/include/hw/misc/tz-ppc.h
@@ -70,7 +70,8 @@
#define TYPE_TZ_PPC "tz-ppc"
typedef struct TZPPC TZPPC;
-#define TZ_PPC(obj) OBJECT_CHECK(TZPPC, (obj), TYPE_TZ_PPC)
+DECLARE_INSTANCE_CHECKER(TZPPC, TZ_PPC,
+ TYPE_TZ_PPC)
#define TZ_NUM_PORTS 16