aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ipack/ipack.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/ipack/ipack.h')
-rw-r--r--include/hw/ipack/ipack.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/hw/ipack/ipack.h b/include/hw/ipack/ipack.h
index a2304c1b3e..a59a487853 100644
--- a/include/hw/ipack/ipack.h
+++ b/include/hw/ipack/ipack.h
@@ -30,12 +30,10 @@ struct IPackBus {
qemu_irq_handler set_irq;
};
-typedef struct IPackDevice IPackDevice;
-typedef struct IPackDeviceClass IPackDeviceClass;
#define TYPE_IPACK_DEVICE "ipack-device"
-DECLARE_OBJ_CHECKERS(IPackDevice, IPackDeviceClass,
- IPACK_DEVICE, TYPE_IPACK_DEVICE)
+OBJECT_DECLARE_TYPE(IPackDevice, IPackDeviceClass,
+ ipack_device, IPACK_DEVICE)
struct IPackDeviceClass {
/*< private >*/