]> git.proxmox.com Git - mirror_qemu.git/commitdiff
stubs/cmos: Use correct include
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 24 Jul 2020 08:43:15 +0000 (10:43 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 1 Sep 2020 07:10:58 +0000 (09:10 +0200)
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

index 416cbe4055ff08247765f3ae5b99116a6d522ab7..3fdbae2c69e88b5dfa457a8d1f8b676783038a29 100644 (file)
@@ -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)
 {