]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
include/bios_emul.h: Audit include list
authorTom Rini <trini@konsulko.com>
Wed, 21 May 2025 22:51:08 +0000 (16:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jun 2025 23:26:15 +0000 (17:26 -0600)
This file does not need <pc.h> but does directly need
<linux/types.h>. Furthermore, arch/x86/lib/bios.c was getting <pci.h>
via <bios_emul.h> so add it there.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/x86/lib/bios.c
include/bios_emul.h

index de4578666fbdb305c062745293ef9736ec76b791..77a8117d1580fb2241e0f060423c3890a8d10126 100644 (file)
@@ -12,6 +12,7 @@
 #include <bios_emul.h>
 #include <irq_func.h>
 #include <log.h>
+#include <pci.h>
 #include <vesa.h>
 #include <linux/linkage.h>
 #include <asm/cache.h>
index a7e6d73972ce97175a5fec6d50736748e2b1848b..47a45296cc31d5028c3ebb440ccd733b95911d7c 100644 (file)
@@ -8,7 +8,7 @@
 
 /* Include the register header directly here */
 #include "../drivers/bios_emulator/include/x86emu/regs.h"
-#include <pci.h>
+#include <linux/types.h>
 
 /****************************************************************************
 REMARKS: