[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/7] hw/sd: sd: Fix build error when DEBUG_SD is on
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 1/7] hw/sd: sd: Fix build error when DEBUG_SD is on |
Date: |
Mon, 22 Mar 2021 18:16:04 +0100 |
From: Bin Meng <bin.meng@windriver.com>
"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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 8b397effbcc..7b09ce9c2ef 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -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"
--
2.26.2
- [PULL 0/7] SD/MMC patches for 2021-03-21, Philippe Mathieu-Daudé, 2021/03/22
- [PULL 1/7] hw/sd: sd: Fix build error when DEBUG_SD is on,
Philippe Mathieu-Daudé <=
- [PULL 2/7] hw/sd: sd: Actually perform the erase operation, Philippe Mathieu-Daudé, 2021/03/22
- [PULL 3/7] hw/sd: sdhci: Don't transfer any data when command time out, Philippe Mathieu-Daudé, 2021/03/22
- [PULL 4/7] hw/sd: sdhci: Don't write to SDHC_SYSAD register when transfer is in progress, Philippe Mathieu-Daudé, 2021/03/22
- [PULL 5/7] hw/sd: sdhci: Correctly set the controller status for ADMA, Philippe Mathieu-Daudé, 2021/03/22
- [PULL 6/7] hw/sd: sdhci: Limit block size only when SDHC_BLKSIZE register is writable, Philippe Mathieu-Daudé, 2021/03/22
- [PULL 7/7] hw/sd: sdhci: Reset the data pointer of s->fifo_buffer[] when a different block size is programmed, Philippe Mathieu-Daudé, 2021/03/22
- Re: [PULL 0/7] SD/MMC patches for 2021-03-21, Peter Maydell, 2021/03/23