diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2019-01-11 15:08:46 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2019-01-22 05:14:32 +0100 |
commit | a8b56ec836860eb7144a3b9de356524316ec9f63 (patch) | |
tree | 71a63655a99b44f21ac6b6201e62942e1a477503 /include/hw | |
parent | 2274e7ddd16219439bf8eef5a606b1be0c6a47a3 (diff) | |
download | qemu-a8b56ec836860eb7144a3b9de356524316ec9f63.zip qemu-a8b56ec836860eb7144a3b9de356524316ec9f63.tar.gz qemu-a8b56ec836860eb7144a3b9de356524316ec9f63.tar.bz2 |
hw/ide/ahci: Remove AllwinnerAHCIState from "qemu/typedefs.h"
Files requiring AllwinnerAHCIState already include "hw/ide/ahci.h".
To clean "qemu/typedefs.h", move the declaration to "hw/ide/ahci.h"
(removing the forward declaration).
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ide/ahci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/ide/ahci.h b/include/hw/ide/ahci.h index b7bb2b0..b44e300 100644 --- a/include/hw/ide/ahci.h +++ b/include/hw/ide/ahci.h @@ -73,13 +73,13 @@ typedef struct SysbusAHCIState { #define ALLWINNER_AHCI_MMIO_OFF 0x80 #define ALLWINNER_AHCI_MMIO_SIZE 0x80 -struct AllwinnerAHCIState { +typedef struct AllwinnerAHCIState { /*< private >*/ SysbusAHCIState parent_obj; /*< public >*/ MemoryRegion mmio; uint32_t regs[ALLWINNER_AHCI_MMIO_SIZE/4]; -}; +} AllwinnerAHCIState; #endif /* HW_IDE_AHCI_H */ |