summaryrefslogtreecommitdiffstats
path: root/include/hw/intc/heathrow_pic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/intc/heathrow_pic.h')
-rw-r--r--include/hw/intc/heathrow_pic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/intc/heathrow_pic.h b/include/hw/intc/heathrow_pic.h
index bd9fc115a8..f8c9bc20ab 100644
--- a/include/hw/intc/heathrow_pic.h
+++ b/include/hw/intc/heathrow_pic.h
@@ -31,7 +31,8 @@
#define TYPE_HEATHROW "heathrow"
typedef struct HeathrowState HeathrowState;
-#define HEATHROW(obj) OBJECT_CHECK(HeathrowState, (obj), TYPE_HEATHROW)
+DECLARE_INSTANCE_CHECKER(HeathrowState, HEATHROW,
+ TYPE_HEATHROW)
typedef struct HeathrowPICState {
uint32_t events;