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

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-nexell/clock.c
arch/arm/mach-nexell/include/mach/reset.h
arch/arm/mach-nexell/reset.c
arch/arm/mach-nexell/tieoff.c
arch/arm/mach-nexell/timer.c

index 59ffa26..3082f60 100644 (file)
@@ -4,8 +4,8 @@
  * Hyunseok, Jung <hsjung@nexell.co.kr>
  */
 
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 #include <linux/err.h>
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
index e1301d4..0c6a130 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __NEXELL_RESET__
 #define __NEXELL_RESET__
 
+#include <linux/types.h>
+
 #define NUMBER_OF_RESET_MODULE_PIN      69
 
 enum rstcon {
index 1f732a3..627f568 100644 (file)
@@ -8,7 +8,6 @@
  *FIXME : Not support device tree & reset control driver.
  *        will remove after support device tree & reset control driver.
  */
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/nexell.h>
 #include <asm/arch/reset.h>
index 5a4744c..51cca67 100644 (file)
@@ -4,7 +4,6 @@
  * Youngbok, Park <park@nexell.co.kr>
  */
 
-#include <common.h>
 #include <asm/arch/nexell.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/reset.h>
index 3b311fd..b35c7b1 100644 (file)
@@ -4,7 +4,6 @@
  * Hyunseok, Jung <hsjung@nexell.co.kr>
  */
 
-#include <common.h>
 #include <log.h>
 
 #include <asm/io.h>