aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ssi/pl022.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/ssi/pl022.h')
-rw-r--r--include/hw/ssi/pl022.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/ssi/pl022.h b/include/hw/ssi/pl022.h
index 64aeb61eef..1f5da7cc44 100644
--- a/include/hw/ssi/pl022.h
+++ b/include/hw/ssi/pl022.h
@@ -26,7 +26,8 @@
#define TYPE_PL022 "pl022"
typedef struct PL022State PL022State;
-#define PL022(obj) OBJECT_CHECK(PL022State, (obj), TYPE_PL022)
+DECLARE_INSTANCE_CHECKER(PL022State, PL022,
+ TYPE_PL022)
struct PL022State {
SysBusDevice parent_obj;