summaryrefslogtreecommitdiffstats
path: root/hw/intc/pl190.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/pl190.c')
-rw-r--r--hw/intc/pl190.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/intc/pl190.c b/hw/intc/pl190.c
index 4f2aa58642..ee3206132f 100644
--- a/hw/intc/pl190.c
+++ b/hw/intc/pl190.c
@@ -23,7 +23,8 @@
#define TYPE_PL190 "pl190"
typedef struct PL190State PL190State;
-#define PL190(obj) OBJECT_CHECK(PL190State, (obj), TYPE_PL190)
+DECLARE_INSTANCE_CHECKER(PL190State, PL190,
+ TYPE_PL190)
struct PL190State {
SysBusDevice parent_obj;