]> Git Repo - qemu.git/blobdiff - include/hw/pcmcia.h
grlib, apbuart: get rid of the old-style create function
[qemu.git] / include / hw / pcmcia.h
index 98406ffbc9118943159201d5c8bd5ebb453b84c8..1b4080764f49f34d6afee5ae34eac626f13bd557 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_PCMCIA_H
-#define HW_PCMCIA_H 1
+#define HW_PCMCIA_H
 
 /* PCMCIA/Cardbus */
 
@@ -18,13 +18,13 @@ typedef struct PCMCIASocket {
 #define PCMCIA_CARD_CLASS(cls) \
     OBJECT_CLASS_CHECK(PCMCIACardClass, cls, TYPE_PCMCIA_CARD)
 
-struct PCMCIACardState {
+typedef struct PCMCIACardState {
     /*< private >*/
     DeviceState parent_obj;
     /*< public >*/
 
     PCMCIASocket *slot;
-};
+} PCMCIACardState;
 
 typedef struct PCMCIACardClass {
     /*< private >*/
This page took 0.022851 seconds and 4 git commands to generate.