aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/os-win32.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-04-30 23:23:48 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-05-10 17:21:53 +0100
commitf16a3bf81b8b01c53144167f6cc12fb126028972 (patch)
tree872b603ed3663f006d721b796f8994a5dcb5bb4a /include/sysemu/os-win32.h
parent5b2c8af89b82a671137a2765b09ad24d0653661c (diff)
downloadqemu-f16a3bf81b8b01c53144167f6cc12fb126028972.zip
qemu-f16a3bf81b8b01c53144167f6cc12fb126028972.tar.gz
qemu-f16a3bf81b8b01c53144167f6cc12fb126028972.tar.bz2
hw/sd/omap_mmc: Use device_cold_reset() instead of device_legacy_reset()
The omap_mmc_reset() function resets its SD card via device_legacy_reset(). We know that the SD card does not have a qbus of its own, so the new device_cold_reset() function (which resets both the device and its child buses) is equivalent here to device_legacy_reset() and we can just switch to the new API. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20210430222348.8514-1-peter.maydell@linaro.org
Diffstat (limited to 'include/sysemu/os-win32.h')
0 files changed, 0 insertions, 0 deletions