aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/armsse-cpuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/armsse-cpuid.h')
-rw-r--r--include/hw/misc/armsse-cpuid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/misc/armsse-cpuid.h b/include/hw/misc/armsse-cpuid.h
index 290a52c..80691c7 100644
--- a/include/hw/misc/armsse-cpuid.h
+++ b/include/hw/misc/armsse-cpuid.h
@@ -27,7 +27,8 @@
#define TYPE_ARMSSE_CPUID "armsse-cpuid"
typedef struct ARMSSECPUID ARMSSECPUID;
-#define ARMSSE_CPUID(obj) OBJECT_CHECK(ARMSSECPUID, (obj), TYPE_ARMSSE_CPUID)
+DECLARE_INSTANCE_CHECKER(ARMSSECPUID, ARMSSE_CPUID,
+ TYPE_ARMSSE_CPUID)
struct ARMSSECPUID {
/*< private >*/