summaryrefslogtreecommitdiffstats
path: root/include/hw/isa/pc87312.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/isa/pc87312.h')
-rw-r--r--include/hw/isa/pc87312.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/isa/pc87312.h b/include/hw/isa/pc87312.h
index c8e98ea029..a65168a157 100644
--- a/include/hw/isa/pc87312.h
+++ b/include/hw/isa/pc87312.h
@@ -31,7 +31,8 @@
#define TYPE_PC87312_SUPERIO "pc87312"
typedef struct PC87312State PC87312State;
-#define PC87312(obj) OBJECT_CHECK(PC87312State, (obj), TYPE_PC87312_SUPERIO)
+DECLARE_INSTANCE_CHECKER(PC87312State, PC87312,
+ TYPE_PC87312_SUPERIO)
struct PC87312State {
/*< private >*/