[PATCH 31/33] arm: apple: Remove <common.h> and add needed includes

Tom Rini trini at konsulko.com
Tue Apr 30 15:35:57 CEST 2024


Remove <common.h> from all mach-apple files and when needed add missing
include files directly.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Mark Kettenis <kettenis at openbsd.org>
---
 arch/arm/mach-apple/board.c | 1 -
 arch/arm/mach-apple/rtkit.c | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-apple/board.c b/arch/arm/mach-apple/board.c
index 7a6151a97223..8bace3005eb5 100644
--- a/arch/arm/mach-apple/board.c
+++ b/arch/arm/mach-apple/board.c
@@ -3,7 +3,6 @@
  * (C) Copyright 2021 Mark Kettenis <kettenis at openbsd.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <dm/uclass-internal.h>
 #include <efi_loader.h>
diff --git a/arch/arm/mach-apple/rtkit.c b/arch/arm/mach-apple/rtkit.c
index a550b553b663..b8f4771e5e71 100644
--- a/arch/arm/mach-apple/rtkit.c
+++ b/arch/arm/mach-apple/rtkit.c
@@ -4,13 +4,14 @@
  * (C) Copyright 2021 Copyright The Asahi Linux Contributors
  */
 
-#include <common.h>
 #include <mailbox.h>
 #include <malloc.h>
 
 #include <asm/arch/rtkit.h>
 #include <linux/apple-mailbox.h>
 #include <linux/bitfield.h>
+#include <linux/errno.h>
+#include <linux/types.h>
 
 #define APPLE_RTKIT_EP_MGMT 0
 #define APPLE_RTKIT_EP_CRASHLOG	1
-- 
2.34.1



More information about the U-Boot mailing list