summary refs log tree commit diff stats
path: root/hw/display/pl110.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/pl110.c')
-rw-r--r--hw/display/pl110.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/display/pl110.c b/hw/display/pl110.c
index 4cf953c2f4..af51a2b9e7 100644
--- a/hw/display/pl110.c
+++ b/hw/display/pl110.c
@@ -50,7 +50,8 @@ enum pl110_version
 
 #define TYPE_PL110 "pl110"
 typedef struct PL110State PL110State;
-#define PL110(obj) OBJECT_CHECK(PL110State, (obj), TYPE_PL110)
+DECLARE_INSTANCE_CHECKER(PL110State, PL110,
+                         TYPE_PL110)
 
 struct PL110State {
     SysBusDevice parent_obj;