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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/tz-mpc.h b/include/hw/misc/tz-mpc.h
index 34e45fd..74d5d82 100644
--- a/include/hw/misc/tz-mpc.h
+++ b/include/hw/misc/tz-mpc.h
@@ -35,9 +35,7 @@
#include "qom/object.h"
#define TYPE_TZ_MPC "tz-mpc"
-typedef struct TZMPC TZMPC;
-DECLARE_INSTANCE_CHECKER(TZMPC, TZ_MPC,
- TYPE_TZ_MPC)
+OBJECT_DECLARE_SIMPLE_TYPE(TZMPC, TZ_MPC)
#define TZ_NUM_PORTS 16