diff mbox series

[04/33] arm: u8500: Remove <common.h> and add needed includes

Message ID 20240430133559.1836389-4-trini@konsulko.com
State Accepted
Commit 97d4896b533f73b6d42d07eab30376ae001419ef
Delegated to: Tom Rini
Headers show
Series [01/33] arm: mach-versatile: Remove dead code | expand

Commit Message

Tom Rini April 30, 2024, 1:35 p.m. UTC
Remove <common.h> from all mach-u8500 files and when needed add missing
include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/mach-u8500/cache.c   | 2 +-
 arch/arm/mach-u8500/cpuinfo.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

Comments

Linus Walleij April 30, 2024, 2:18 p.m. UTC | #1
On Tue, Apr 30, 2024 at 3:36 PM Tom Rini <trini@konsulko.com> wrote:

> Remove <common.h> from all mach-u8500 files and when needed add missing
> include files directly.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/arch/arm/mach-u8500/cache.c b/arch/arm/mach-u8500/cache.c
index 05a91346a897..7541b567d0fd 100644
--- a/arch/arm/mach-u8500/cache.c
+++ b/arch/arm/mach-u8500/cache.c
@@ -3,7 +3,7 @@ 
  * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
 #include <asm/cache.h>
diff --git a/arch/arm/mach-u8500/cpuinfo.c b/arch/arm/mach-u8500/cpuinfo.c
index ab05b8a51b23..6d4c6196c3df 100644
--- a/arch/arm/mach-u8500/cpuinfo.c
+++ b/arch/arm/mach-u8500/cpuinfo.c
@@ -3,7 +3,6 @@ 
  * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>