aboutsummaryrefslogtreecommitdiff
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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/display/dpcd.h b/include/hw/display/dpcd.h
index 09304dd1f6..a4e37abf6f 100644
--- a/include/hw/display/dpcd.h
+++ b/include/hw/display/dpcd.h
@@ -26,11 +26,9 @@
#define DPCD_H
#include "qom/object.h"
-typedef struct DPCDState DPCDState;
#define TYPE_DPCD "dpcd"
-DECLARE_INSTANCE_CHECKER(DPCDState, DPCD,
- TYPE_DPCD)
+OBJECT_DECLARE_SIMPLE_TYPE(DPCDState, DPCD)
/* DCPD Revision. */
#define DPCD_REVISION 0x00