aboutsummaryrefslogtreecommitdiff
path: root/lib/acpi/mcfg.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-12-14 13:16:58 -0500
committerTom Rini <trini@konsulko.com>2023-12-21 08:54:37 -0500
commit467382ca03758e4f3f13107e3a83669e93a7461e (patch)
treec8b6c0f66052e329cc57451c9e0fe2d24bc3407d /lib/acpi/mcfg.c
parent1e8ce11a0b94bb2fcf55590eeffa9c85886b89bc (diff)
lib: Remove <common.h> inclusion from these files
After some header file cleanups to add missing include files, remove common.h from all files in the lib directory. This primarily means just dropping the line but in a few cases we need to add in other header files now. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/acpi/mcfg.c')
-rw-r--r--lib/acpi/mcfg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/acpi/mcfg.c b/lib/acpi/mcfg.c
index 7404ae586a..8b8a5bfafa 100644
--- a/lib/acpi/mcfg.c
+++ b/lib/acpi/mcfg.c
@@ -7,11 +7,13 @@
#define LOG_CATEGORY LOGC_ACPI
-#include <common.h>
#include <mapmem.h>
#include <tables_csum.h>
#include <acpi/acpi_table.h>
#include <dm/acpi.h>
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/types.h>
int acpi_create_mcfg_mmconfig(struct acpi_mcfg_mmconfig *mmconfig, u32 base,
u16 seg_nr, u8 start, u8 end)