]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - include/hw/sd/sdhci.h
Move QOM typedefs and add missing includes
[thirdparty/qemu.git] / include / hw / sd / sdhci.h
index 5d9275f3d6c6ff03374d4c050dd73da520b94d08..67b01fcb28b840d94b5f3d0a40b73e601f7045ec 100644 (file)
 #include "hw/pci/pci.h"
 #include "hw/sysbus.h"
 #include "hw/sd/sd.h"
+#include "qom/object.h"
 
 /* SD/MMC host controller state */
-typedef struct SDHCIState {
+struct SDHCIState {
     /*< private >*/
     union {
         PCIDevice pcidev;
@@ -98,7 +99,8 @@ typedef struct SDHCIState {
     uint8_t sd_spec_version;
     uint8_t uhs_mode;
     uint8_t vendor;        /* For vendor specific functionality */
-} SDHCIState;
+};
+typedef struct SDHCIState SDHCIState;
 
 #define SDHCI_VENDOR_NONE       0
 #define SDHCI_VENDOR_IMX        1