diff options
author | Cédric Le Goater | 2021-10-12 08:20:08 +0200 |
---|---|---|
committer | Cédric Le Goater | 2021-10-12 08:20:08 +0200 |
commit | a7d78beff46f8e5c4343edca4b76675e6e55172e (patch) | |
tree | 044f8245d4fca9b61618b4a58268ba3091b8fc3b /include/hw | |
parent | aspeed/smc: Drop AspeedSMCController structure (diff) | |
download | qemu-a7d78beff46f8e5c4343edca4b76675e6e55172e.tar.gz qemu-a7d78beff46f8e5c4343edca4b76675e6e55172e.tar.xz qemu-a7d78beff46f8e5c4343edca4b76675e6e55172e.zip |
aspeed/smc: Remove the 'flash' attribute from AspeedSMCFlash
There is no need to keep a reference of the flash qdev in the AspeedSMCFlash
state: the SPI bus takes ownership and will release its resources. Remove
AspeedSMCFlash::flash.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ssi/aspeed_smc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h index 0ea536a44c..f32f66f9a8 100644 --- a/include/hw/ssi/aspeed_smc.h +++ b/include/hw/ssi/aspeed_smc.h @@ -37,7 +37,6 @@ typedef struct AspeedSMCFlash { uint32_t size; MemoryRegion mmio; - DeviceState *flash; } AspeedSMCFlash; #define TYPE_ASPEED_SMC "aspeed.smc" |