summaryrefslogtreecommitdiffstats
path: root/hw/sd/sd.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-12-23 21:29:33 +0100
committerPhilippe Mathieu-Daudé2020-08-21 16:23:21 +0200
commit9006f1e706e0f41efdb62556cefe88d746add88a (patch)
treec4af29a7635d4672db1a3721a3a2bf91b9a86f45 /hw/sd/sd.c
parenthw/sd/sdcard: Make sd_data_ready() static (diff)
downloadqemu-9006f1e706e0f41efdb62556cefe88d746add88a.tar.gz
qemu-9006f1e706e0f41efdb62556cefe88d746add88a.tar.xz
qemu-9006f1e706e0f41efdb62556cefe88d746add88a.zip
hw/sd: Move sdcard legacy API to 'hw/sd/sdcard_legacy.h'
omap_mmc.c is the last device left using the legacy sdcard API. Move the prototype declarations into a separate header, to make it clear this is a legacy API. Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Message-Id: <20180216022933.10945-8-f4bug@amsat.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/sd/sd.c')
-rw-r--r--hw/sd/sd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index a5ae5dccbe..5c6f5c94f3 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -37,6 +37,7 @@
#include "hw/registerfields.h"
#include "sysemu/block-backend.h"
#include "hw/sd/sd.h"
+#include "hw/sd/sdcard_legacy.h"
#include "migration/vmstate.h"
#include "qapi/error.h"
#include "qemu/bitmap.h"