diff mbox series

[149/149] board: zyxel: Remove <common.h> and add needed includes

Message ID 20240501024316.1767971-149-trini@konsulko.com
State Accepted
Commit 797cea685b28a566976ebddcee11174c9f70c3b6
Delegated to: Tom Rini
Headers show
Series [001/149] global: Make <asm/global_data.h> include <asm/u-boot.h> | expand

Commit Message

Tom Rini May 1, 2024, 2:43 a.m. UTC
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Tony Dinh <mibodhi@gmail.com>
Cc: Luka Perkov <luka.perkov@sartura.hr>
---
 board/zyxel/nsa310s/nsa310s.c | 1 -
 board/zyxel/nsa325/nsa325.c   | 1 -
 2 files changed, 2 deletions(-)

Comments

Tony Dinh May 1, 2024, 8:29 p.m. UTC | #1
On Tue, Apr 30, 2024 at 7:46 PM Tom Rini <trini@konsulko.com> wrote:
>
> Remove <common.h> from this board vendor directory and when needed
> add missing include files directly.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> Cc: Tony Dinh <mibodhi@gmail.com>
> Cc: Luka Perkov <luka.perkov@sartura.hr>

Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Tested-by: Tony Dinh <mibodhi@gmail.com> # on Zyxel NSA310s

> ---
>  board/zyxel/nsa310s/nsa310s.c | 1 -
>  board/zyxel/nsa325/nsa325.c   | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/board/zyxel/nsa310s/nsa310s.c b/board/zyxel/nsa310s/nsa310s.c
> index b3ea6608914a..d018b5738242 100644
> --- a/board/zyxel/nsa310s/nsa310s.c
> +++ b/board/zyxel/nsa310s/nsa310s.c
> @@ -4,7 +4,6 @@
>   * Copyright (C) 2015 Gerald Kerma <dreagle@doukki.net>
>   */
>
> -#include <common.h>
>  #include <init.h>
>  #include <netdev.h>
>  #include <asm/arch/cpu.h>
> diff --git a/board/zyxel/nsa325/nsa325.c b/board/zyxel/nsa325/nsa325.c
> index f5f63ee5d3b0..38340b33c8bf 100644
> --- a/board/zyxel/nsa325/nsa325.c
> +++ b/board/zyxel/nsa325/nsa325.c
> @@ -14,7 +14,6 @@
>   * Marvell Semiconductor <www.marvell.com>
>   */
>
> -#include <common.h>
>  #include <asm/arch/soc.h>
>  #include <asm/arch/mpp.h>
>  #include <netdev.h>
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/board/zyxel/nsa310s/nsa310s.c b/board/zyxel/nsa310s/nsa310s.c
index b3ea6608914a..d018b5738242 100644
--- a/board/zyxel/nsa310s/nsa310s.c
+++ b/board/zyxel/nsa310s/nsa310s.c
@@ -4,7 +4,6 @@ 
  * Copyright (C) 2015 Gerald Kerma <dreagle@doukki.net>
  */
 
-#include <common.h>
 #include <init.h>
 #include <netdev.h>
 #include <asm/arch/cpu.h>
diff --git a/board/zyxel/nsa325/nsa325.c b/board/zyxel/nsa325/nsa325.c
index f5f63ee5d3b0..38340b33c8bf 100644
--- a/board/zyxel/nsa325/nsa325.c
+++ b/board/zyxel/nsa325/nsa325.c
@@ -14,7 +14,6 @@ 
  * Marvell Semiconductor <www.marvell.com>
  */
 
-#include <common.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
 #include <netdev.h>