summaryrefslogtreecommitdiffstats
path: root/include/hw/misc/tz-msc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/tz-msc.h')
-rw-r--r--include/hw/misc/tz-msc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/misc/tz-msc.h b/include/hw/misc/tz-msc.h
index 3f719833a9..7169f330ff 100644
--- a/include/hw/misc/tz-msc.h
+++ b/include/hw/misc/tz-msc.h
@@ -56,7 +56,8 @@
#define TYPE_TZ_MSC "tz-msc"
typedef struct TZMSC TZMSC;
-#define TZ_MSC(obj) OBJECT_CHECK(TZMSC, (obj), TYPE_TZ_MSC)
+DECLARE_INSTANCE_CHECKER(TZMSC, TZ_MSC,
+ TYPE_TZ_MSC)
struct TZMSC {
/*< private >*/