From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 01/11] global: Remove duplicate common.h inclusions
Date: Wed, 22 Nov 2023 08:11:44 -0500 [thread overview]
Message-ID: <20231122131154.2444690-1-trini@konsulko.com> (raw)
These files include <common.h> twice. Start by removing the second
inclusion of the file.
Signed-off-by: Tom Rini <trini@konsulko.com>
---
board/data_modul/common/common.c | 1 -
board/grinn/liteboard/board.c | 1 -
board/toradex/colibri_imx7/colibri_imx7.c | 1 -
board/wandboard/wandboard.c | 1 -
drivers/gpio/gpio-aspeed.c | 1 -
drivers/spi/fsl_dspi.c | 1 -
drivers/video/exynos/exynos_dp.c | 1 -
7 files changed, 7 deletions(-)
diff --git a/board/data_modul/common/common.c b/board/data_modul/common/common.c
index bf9a11472d11..4f308dad2e4d 100644
--- a/board/data_modul/common/common.c
+++ b/board/data_modul/common/common.c
@@ -12,7 +12,6 @@
#include <asm/io.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/mach-imx/iomux-v3.h>
-#include <common.h>
#include <dm/uclass.h>
#include <hang.h>
#include <i2c_eeprom.h>
diff --git a/board/grinn/liteboard/board.c b/board/grinn/liteboard/board.c
index 48392c48e5cc..cf1d7cee9252 100644
--- a/board/grinn/liteboard/board.c
+++ b/board/grinn/liteboard/board.c
@@ -20,7 +20,6 @@
#include <asm/mach-imx/iomux-v3.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/io.h>
-#include <common.h>
#include <env.h>
#include <fsl_esdhc_imx.h>
#include <linux/sizes.h>
diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c
index f0356af0082b..3c4a14148719 100644
--- a/board/toradex/colibri_imx7/colibri_imx7.c
+++ b/board/toradex/colibri_imx7/colibri_imx7.c
@@ -16,7 +16,6 @@
#include <asm/gpio.h>
#include <asm/mach-imx/iomux-v3.h>
#include <asm/io.h>
-#include <common.h>
#include <dm.h>
#include <dm/platform_data/serial_mxc.h>
#include <fdt_support.h>
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index 48914450a294..8be62c86695d 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -28,7 +28,6 @@
#include <env.h>
#include <linux/delay.h>
#include <linux/sizes.h>
-#include <common.h>
#include <miiphy.h>
#include <netdev.h>
#include <phy.h>
diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c
index 2c5415c671d1..1c3d18796b3a 100644
--- a/drivers/gpio/gpio-aspeed.c
+++ b/drivers/gpio/gpio-aspeed.c
@@ -11,7 +11,6 @@
#include <asm/gpio.h>
#include <config.h>
-#include <common.h>
#include <clk.h>
#include <dm.h>
#include <asm/io.h>
diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c
index f8ec268812ca..041abe57e355 100644
--- a/drivers/spi/fsl_dspi.c
+++ b/drivers/spi/fsl_dspi.c
@@ -14,7 +14,6 @@
#include <common.h>
#include <dm.h>
#include <errno.h>
-#include <common.h>
#include <log.h>
#include <spi.h>
#include <malloc.h>
diff --git a/drivers/video/exynos/exynos_dp.c b/drivers/video/exynos/exynos_dp.c
index a532d5ae1abb..59838da6c926 100644
--- a/drivers/video/exynos/exynos_dp.c
+++ b/drivers/video/exynos/exynos_dp.c
@@ -7,7 +7,6 @@
#include <common.h>
#include <dm.h>
-#include <common.h>
#include <display.h>
#include <fdtdec.h>
#include <log.h>
--
2.34.1
next reply other threads:[~2023-11-22 13:12 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-22 13:11 Tom Rini [this message]
2023-11-22 13:11 ` [PATCH 02/11] arm: Remove <asm/types.h> from asm/global_data.h Tom Rini
2023-12-02 18:23 ` Simon Glass
2023-11-22 13:11 ` [PATCH 03/11] sandbox: Add <linux/types.h> to asm/global_data.h and asm/io.h Tom Rini
2023-11-30 2:45 ` Simon Glass
2023-11-22 13:11 ` [PATCH 04/11] m68k: Rework asm/global_data.h slightly Tom Rini
2023-11-22 21:04 ` Angelo Dureghello
2023-11-22 21:09 ` Tom Rini
2023-11-23 20:44 ` Angelo Dureghello
2023-11-22 13:11 ` [PATCH 05/11] global: Rework architecture global_data.h to include <linux/types.h> Tom Rini
2023-12-02 18:23 ` Simon Glass
2023-11-22 13:11 ` [PATCH 06/11] lib/sha*.c: Update header list Tom Rini
2023-12-02 18:23 ` Simon Glass
2023-12-09 15:48 ` Tom Rini
2023-11-22 13:11 ` [PATCH 07/11] rmobile: Add <mach/rmobile.h> to cpu_info-rzg2l.c Tom Rini
2023-11-22 16:15 ` Marek Vasut
2023-11-22 13:11 ` [PATCH 08/11] efi_loader: Remove <common.h> Tom Rini
2023-11-22 13:46 ` Ilias Apalodimas
2023-11-22 13:11 ` [PATCH 09/11] display_options: Clean up headers Tom Rini
2023-11-30 2:45 ` Simon Glass
2023-11-22 13:11 ` [PATCH 10/11] include: Further cleanup includes Tom Rini
2023-12-02 18:23 ` Simon Glass
2023-11-22 13:11 ` [PATCH 11/11] lib: Remove <common.h> inclusion from these files Tom Rini
2023-12-01 18:44 ` Simon Glass
2023-12-02 18:23 ` [PATCH 01/11] global: Remove duplicate common.h inclusions Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231122131154.2444690-1-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox