summaryrefslogtreecommitdiffstats
path: root/include/hw/display/dpcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/display/dpcd.h')
-rw-r--r--include/hw/display/dpcd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/display/dpcd.h b/include/hw/display/dpcd.h
index 6b96a463a7..09304dd1f6 100644
--- a/include/hw/display/dpcd.h
+++ b/include/hw/display/dpcd.h
@@ -29,7 +29,8 @@
typedef struct DPCDState DPCDState;
#define TYPE_DPCD "dpcd"
-#define DPCD(obj) OBJECT_CHECK(DPCDState, (obj), TYPE_DPCD)
+DECLARE_INSTANCE_CHECKER(DPCDState, DPCD,
+ TYPE_DPCD)
/* DCPD Revision. */
#define DPCD_REVISION 0x00