]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/pcmcia.h
Use OBJECT_DECLARE_TYPE when possible
[mirror_qemu.git] / include / hw / pcmcia.h
index fb40ae7e0949575845fb2e1ea8c3798e7ab05194..e3ba44e0bf69f9a1a8124f7c26df7c50fba957e8 100644 (file)
@@ -12,10 +12,7 @@ typedef struct PCMCIASocket {
 } PCMCIASocket;
 
 #define TYPE_PCMCIA_CARD "pcmcia-card"
-typedef struct PCMCIACardClass PCMCIACardClass;
-typedef struct PCMCIACardState PCMCIACardState;
-DECLARE_OBJ_CHECKERS(PCMCIACardState, PCMCIACardClass,
-                     PCMCIA_CARD, TYPE_PCMCIA_CARD)
+OBJECT_DECLARE_TYPE(PCMCIACardState, PCMCIACardClass, PCMCIA_CARD)
 
 struct PCMCIACardState {
     /*< private >*/