hw/sd: sd: Fix build error when DEBUG_SD is on
PATCH 1/1 hw/sd: sd: Fix build error when DEBUG_SD is on
From: Bin Meng <[email protected]>
"qemu-common.h" should be included to provide the forward declaration of qemu_hexdump() when DEBUG_SD is on.
Signed-off-by Bin Meng <[email protected]>
---
hw/sd/sd.c | 1 + 1 file changed, 1 insertion(+)
hw/sd/sd.c +1 -0
@@ -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"
Signature · 1 line
2.25.1
Quoted 10 lines · Bin Meng
From: Bin Meng <[email protected]>
"
qemu-common.h" should be included to provide the forward declaration ofqemu_hexdump()whenDEBUG_SDis on.Signed-off-by Bin Meng <[email protected]>---
hw/sd/sd.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 10 lines · Bin Meng
From: Bin Meng <[email protected]>
"
qemu-common.h" should be included to provide the forward declaration ofqemu_hexdump()whenDEBUG_SDis on.Signed-off-by Bin Meng <[email protected]>---
hw/sd/sd.c | 1 + 1 file changed, 1 insertion(+)
Thanks, patch applied to sdmmc-fixes.