arm: meson: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Tue, 30 Apr 2024 13:35:45 +0000 (07:35 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:06:34 +0000 (15:06 -0600)
Remove <common.h> from all mach-meson files and when needed add missing
include files directly.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-meson/board-a1.c
arch/arm/mach-meson/board-axg.c
arch/arm/mach-meson/board-common.c
arch/arm/mach-meson/board-g12a.c
arch/arm/mach-meson/board-gx.c
arch/arm/mach-meson/board-info.c
arch/arm/mach-meson/sm.c

index 967bb67..f848c0f 100644 (file)
@@ -3,12 +3,12 @@
  * (C) Copyright 2023 SberDevices, Inc.
  */
 
-#include <common.h>
 #include <asm/arch/a1.h>
 #include <asm/arch/boot.h>
 #include <asm/armv8/mmu.h>
 #include <asm/io.h>
 #include <linux/compiler.h>
+#include <linux/errno.h>
 #include <linux/sizes.h>
 
 phys_size_t get_effective_memsize(void)
index fdf1875..6535539 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2018 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/boot.h>
index 7ceba7c..39774c4 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com>
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <fastboot.h>
 #include <init.h>
index d5a830f..dc4abe1 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2018 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <log.h>
 #include <net.h>
index c3fbdff..0370ed5 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2018 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <net.h>
 #include <asm/arch/boot.h>
index d51d9b8..b4058f5 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2019 Neil Armstrong <narmstrong@baylibre.com>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
index 914fd11..4d9f83d 100644 (file)
@@ -5,7 +5,6 @@
  * Secure monitor calls.
  */
 
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <regmap.h>