diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-06-23 09:21:31 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-06-26 14:30:28 +0100 |
commit | 612b219a2a6e3d8192ce1d2408780be655f60359 (patch) | |
tree | a6d585073be101b8a3d090e8b13f9944e8c8ae93 /include/hw/arm/aspeed.h | |
parent | f489960d36c49e91cf57c185b70cd028aa4976e7 (diff) | |
download | qemu-612b219a2a6e3d8192ce1d2408780be655f60359.zip qemu-612b219a2a6e3d8192ce1d2408780be655f60359.tar.gz qemu-612b219a2a6e3d8192ce1d2408780be655f60359.tar.bz2 |
hw/arm/aspeed: Rename AspeedBoardState as AspeedMachineState
To have a more consistent naming, rename AspeedBoardState
as AspeedMachineState.
Suggested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20200623072132.2868-3-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm/aspeed.h')
-rw-r--r-- | include/hw/arm/aspeed.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/arm/aspeed.h b/include/hw/arm/aspeed.h index 95b4dae..5114ba0 100644 --- a/include/hw/arm/aspeed.h +++ b/include/hw/arm/aspeed.h @@ -11,7 +11,7 @@ #include "hw/boards.h" -typedef struct AspeedBoardState AspeedBoardState; +typedef struct AspeedMachineState AspeedMachineState; #define TYPE_ASPEED_MACHINE MACHINE_TYPE_NAME("aspeed") #define ASPEED_MACHINE(obj) \ @@ -45,7 +45,7 @@ typedef struct AspeedMachineClass { const char *spi_model; uint32_t num_cs; uint32_t macs_mask; - void (*i2c_init)(AspeedBoardState *bmc); + void (*i2c_init)(AspeedMachineState *bmc); } AspeedMachineClass; |