Message ID | CAFEAcA81W5nJpM8mF7MvHTyKm5DX_mfKNUenoir3WWhqJXbMTg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/sd/pxa2xx_mmci.c b/hw/sd/pxa2xx_mmci.c index cadbba3..e3753e5 100644 --- a/hw/sd/pxa2xx_mmci.c +++ b/hw/sd/pxa2xx_mmci.c @@ -21,7 +21,7 @@ #define TYPE_PXA2XX_MMCI "pxa2xx-mmci" #define PXA2XX_MMCI(obj) OBJECT_CHECK(PXA2xxMMCIState, (obj), TYPE_PXA2XX_MMCI) -typedef struct PXA2xxMMCIState { +struct PXA2xxMMCIState { SysBusDevice parent_obj; MemoryRegion iomem; @@ -57,7 +57,7 @@ typedef struct PXA2xxMMCIState { int resp_len; int cmdreq; -} PXA2xxMMCIState; +}; #define MMC_STRPCL 0x00 /* MMC Clock Start/Stop register */ #define MMC_STAT 0x04 /* MMC Status register */