summaryrefslogtreecommitdiffstats
path: root/hw/ide/sii3112.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ide/sii3112.c')
-rw-r--r--hw/ide/sii3112.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/sii3112.c b/hw/ide/sii3112.c
index 11c5b88bbf..968c239ab8 100644
--- a/hw/ide/sii3112.c
+++ b/hw/ide/sii3112.c
@@ -20,7 +20,7 @@
#define TYPE_SII3112_PCI "sii3112"
typedef struct SiI3112PCIState SiI3112PCIState;
-#define SII3112_PCI(obj) OBJECT_CHECK(SiI3112PCIState, (obj), \
+DECLARE_INSTANCE_CHECKER(SiI3112PCIState, SII3112_PCI,
TYPE_SII3112_PCI)
typedef struct SiI3112Regs {