summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-21 16:51:08 -0600
committerTom Rini <trini@konsulko.com>2025-06-02 17:26:15 -0600
commit377c75f8c5588126259ff82bd33eaa3090853cb8 (patch)
tree30f280d5344363a001505bf2e2acb0b7a7da68db
parent6a891bb78cdc0f920bcae700af26f192421f93cd (diff)
include/bios_emul.h: Audit include list
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>
-rw-r--r--arch/x86/lib/bios.c1
-rw-r--r--include/bios_emul.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/lib/bios.c b/arch/x86/lib/bios.c
index de4578666fb..77a8117d158 100644
--- a/arch/x86/lib/bios.c
+++ b/arch/x86/lib/bios.c
@@ -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>
diff --git a/include/bios_emul.h b/include/bios_emul.h
index a7e6d73972c..47a45296cc3 100644
--- a/include/bios_emul.h
+++ b/include/bios_emul.h
@@ -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: