summaryrefslogtreecommitdiff
path: root/stubs/cmos.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-07-24 10:43:15 +0200
committerLaurent Vivier <laurent@vivier.eu>2020-09-01 09:10:58 +0200
commit1538d763451543a0e55966c27fe95b7dfb72df2f (patch)
tree567ffcb3240c14f97d34bbdb6cd2208ddf50a6c7 /stubs/cmos.c
parent28b18db754da45d978b0a65f9aa4afbc82edb925 (diff)
downloadqemu-1538d763451543a0e55966c27fe95b7dfb72df2f.zip
stubs/cmos: Use correct include
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>
Diffstat (limited to 'stubs/cmos.c')
-rw-r--r--stubs/cmos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/cmos.c b/stubs/cmos.c
index 416cbe4055..3fdbae2c69 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)
{