diff options
Diffstat (limited to 'hw/ide/sii3112.c')
-rw-r--r-- | hw/ide/sii3112.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/ide/sii3112.c b/hw/ide/sii3112.c index 968c239..34c347b 100644 --- a/hw/ide/sii3112.c +++ b/hw/ide/sii3112.c @@ -19,9 +19,7 @@ #include "qom/object.h" #define TYPE_SII3112_PCI "sii3112" -typedef struct SiI3112PCIState SiI3112PCIState; -DECLARE_INSTANCE_CHECKER(SiI3112PCIState, SII3112_PCI, - TYPE_SII3112_PCI) +OBJECT_DECLARE_SIMPLE_TYPE(SiI3112PCIState, SII3112_PCI) typedef struct SiI3112Regs { uint32_t confstat; |