[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/44] stubs/cmos: Use correct include
From: |
Laurent Vivier |
Subject: |
[PULL 13/44] stubs/cmos: Use correct include |
Date: |
Tue, 1 Sep 2020 16:09:23 +0200 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
cmos_get_fd_drive_type() is declared in "hw/block/fdc.h".
This currently works because "hw/i386/pc.h" happens to
include it. Simplify including the correct header.
Fixes: 2055dbc1c9 ("acpi: move aml builder code for floppy device")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20200724084315.1606-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
stubs/cmos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stubs/cmos.c b/stubs/cmos.c
index 416cbe4055ff..3fdbae2c69e8 100644
--- a/stubs/cmos.c
+++ b/stubs/cmos.c
@@ -1,5 +1,5 @@
#include "qemu/osdep.h"
-#include "hw/i386/pc.h"
+#include "hw/block/fdc.h"
int cmos_get_fd_drive_type(FloppyDriveType fd0)
{
--
2.26.2
- [PULL 00/44] Trivial branch for 5.2 patches, Laurent Vivier, 2020/09/01
- [PULL 00/44] Trivial branch for 5.2 patches, Laurent Vivier, 2020/09/01
- [PULL 01/44] hw/register: Document register_init_block @memory_size, Laurent Vivier, 2020/09/01
- [PULL 03/44] target/ppc: Remove superfluous breaks, Laurent Vivier, 2020/09/01
- [PULL 10/44] hw/net/can: Add missing fallthrough statements, Laurent Vivier, 2020/09/01
- [PULL 13/44] stubs/cmos: Use correct include,
Laurent Vivier <=
- [PULL 04/44] scsi: Remove superfluous breaks, Laurent Vivier, 2020/09/01
- [PULL 12/44] hw/isa/isa-superio: Fix IDE controller realization, Laurent Vivier, 2020/09/01
- [PULL 15/44] hw/core/sysbus: Fix a typo, Laurent Vivier, 2020/09/01
- [PULL 16/44] hw/core/sysbus: Assert memory region index is in range, Laurent Vivier, 2020/09/01
- [PULL 18/44] docs: Fix broken links, Laurent Vivier, 2020/09/01
- [PULL 17/44] Revert "mailmap: Update philmd email address", Laurent Vivier, 2020/09/01
- [PULL 20/44] hw/i2c: Fix typo in description, Laurent Vivier, 2020/09/01
- [PULL 02/44] target/arm/kvm: Remove superfluous break, Laurent Vivier, 2020/09/01
- [PULL 23/44] mailmap: Add entry for Greg Kurz, Laurent Vivier, 2020/09/01
- [PULL 11/44] hw/i386/kvm/ioapic.c: fix typo in error message, Laurent Vivier, 2020/09/01