hw/sd: sd: Fix build error when DEBUG_SD is on
authorBin Meng <bin.meng@windriver.com>
Sun, 28 Feb 2021 05:06:09 +0000 (13:06 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 22 Mar 2021 14:34:29 +0000 (15:34 +0100)
"qemu-common.h" should be included to provide the forward declaration
of qemu_hexdump() when DEBUG_SD is on.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210228050609.24779-1-bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/sd/sd.c

index 8b397effbcc61e6a2b1f7adbe6189b7fc9f8f876..7b09ce9c2ef802ad3875b4a4194bfee198578b65 100644 (file)
@@ -47,6 +47,7 @@
 #include "qemu/timer.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
+#include "qemu-common.h"
 #include "sdmmc-internal.h"
 #include "trace.h"