diff mbox series

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

Message ID 20240501024316.1767971-25-trini@konsulko.com
State Accepted
Commit 15a0f96f30cdaa473b60a7be21ad63ed44cf9f4c
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:41 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: Patrick Bruenn <p.bruenn@beckhoff.com>
---
 board/beckhoff/mx53cx9020/mx53cx9020.c       | 1 -
 board/beckhoff/mx53cx9020/mx53cx9020_video.c | 1 -
 2 files changed, 2 deletions(-)

Comments

Patrick Brünn May 2, 2024, 6:47 a.m. UTC | #1
Tested-by: Patrick Bruenn <p.bruenn@beckhoff.com>


On Tue, 2024-04-30 at 20:41 -0600, Tom Rini wrote:
> CAUTION: External Email!!
> 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: Patrick Bruenn <p.bruenn@beckhoff.com>
> ---
>  board/beckhoff/mx53cx9020/mx53cx9020.c       | 1 -
>  board/beckhoff/mx53cx9020/mx53cx9020_video.c | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/board/beckhoff/mx53cx9020/mx53cx9020.c b/board/beckhoff/mx53cx9020/mx53cx9020.c
> index e7b131836b61..3a766728a6f7 100644
> --- a/board/beckhoff/mx53cx9020/mx53cx9020.c
> +++ b/board/beckhoff/mx53cx9020/mx53cx9020.c
> @@ -7,7 +7,6 @@
>   * Copyright (C) 2011 Freescale Semiconductor, Inc.
>   */
>
> -#include <common.h>
>  #include <cpu_func.h>
>  #include <init.h>
>  #include <asm/arch/sys_proto.h>
> diff --git a/board/beckhoff/mx53cx9020/mx53cx9020_video.c b/board/beckhoff/mx53cx9020/mx53cx9020_video.c
> index bf4729025622..fd28a70f4d72 100644
> --- a/board/beckhoff/mx53cx9020/mx53cx9020_video.c
> +++ b/board/beckhoff/mx53cx9020/mx53cx9020_video.c
> @@ -7,7 +7,6 @@
>   * Copyright (C) 2012 Freescale Semiconductor, Inc.
>   */
>
> -#include <common.h>
>  #include <asm/arch/iomux-mx53.h>
>  #include <asm/gpio.h>
>  #include <asm/mach-imx/video.h>

This email contains confidential information. If you have received it in error, you must not read, use, copy or pass on this e-mail or its attachments. If you have received the e-mail in error, please inform me immediately by reply e-mail and then delete this e-mail from your system. Thank you

Diese E-Mail enthält vertrauliche Informationen. Sollten Sie sie irrtümlich erhalten haben, dürfen Sie diese E-Mail oder ihre Anhänge nicht lesen, verwenden, kopieren oder weitergeben. Sollten Sie die Mail versehentlich erhalten haben, teilen Sie mir dies bitte umgehend per Antwort-E-Mail mit und löschen Sie diese E-Mail dann aus Ihrem System. Vielen Dank

Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff
Registered office: Verl, Germany | Register court: Guetersloh HRA 7075
diff mbox series

Patch

diff --git a/board/beckhoff/mx53cx9020/mx53cx9020.c b/board/beckhoff/mx53cx9020/mx53cx9020.c
index e7b131836b61..3a766728a6f7 100644
--- a/board/beckhoff/mx53cx9020/mx53cx9020.c
+++ b/board/beckhoff/mx53cx9020/mx53cx9020.c
@@ -7,7 +7,6 @@ 
  * Copyright (C) 2011 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <init.h>
 #include <asm/arch/sys_proto.h>
diff --git a/board/beckhoff/mx53cx9020/mx53cx9020_video.c b/board/beckhoff/mx53cx9020/mx53cx9020_video.c
index bf4729025622..fd28a70f4d72 100644
--- a/board/beckhoff/mx53cx9020/mx53cx9020_video.c
+++ b/board/beckhoff/mx53cx9020/mx53cx9020_video.c
@@ -7,7 +7,6 @@ 
  * Copyright (C) 2012 Freescale Semiconductor, Inc.
  */
 
-#include <common.h>
 #include <asm/arch/iomux-mx53.h>
 #include <asm/gpio.h>
 #include <asm/mach-imx/video.h>