aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/a9scu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/a9scu.h')
-rw-r--r--include/hw/misc/a9scu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/misc/a9scu.h b/include/hw/misc/a9scu.h
index c5481f4dbb..fd1b92e923 100644
--- a/include/hw/misc/a9scu.h
+++ b/include/hw/misc/a9scu.h
@@ -28,6 +28,7 @@ struct A9SCUState {
typedef struct A9SCUState A9SCUState;
#define TYPE_A9_SCU "a9-scu"
-#define A9_SCU(obj) OBJECT_CHECK(A9SCUState, (obj), TYPE_A9_SCU)
+DECLARE_INSTANCE_CHECKER(A9SCUState, A9_SCU,
+ TYPE_A9_SCU)
#endif