Remove <common.h> from this driver directory and when needed add missing include files directly.
Signed-off-by: Tom Rini <tr...@konsulko.com> --- Cc: Eugen Hristev <eugen.hris...@collabora.com> Cc: Tom Rini <tr...@konsulko.com> Cc: Simon Glass <s...@chromium.org> Cc: Mario Six <mario....@gdsys.cc> Cc: Marek Vasut <marek.vasut+rene...@mailbox.org> Cc: Peng Fan <peng....@nxp.com> Cc: Stefano Babic <sba...@denx.de> Cc: Bin Meng <bmeng...@gmail.com> Cc: Heinrich Schuchardt <xypron.g...@gmx.de> Cc: Sean Anderson <sean...@gmail.com> Cc: Conor Dooley <conor.doo...@microchip.com> --- drivers/cpu/at91_cpu.c | 1 - drivers/cpu/bmips_cpu.c | 1 - drivers/cpu/cpu-uclass.c | 1 - drivers/cpu/cpu_sandbox.c | 1 - drivers/cpu/imx8_cpu.c | 1 - drivers/cpu/microblaze_cpu.c | 1 - drivers/cpu/mpc83xx_cpu.c | 1 - drivers/cpu/riscv_cpu.c | 1 - 8 files changed, 8 deletions(-) diff --git a/drivers/cpu/at91_cpu.c b/drivers/cpu/at91_cpu.c index 34a3f61c7e95..b45cc6ca1a9a 100644 --- a/drivers/cpu/at91_cpu.c +++ b/drivers/cpu/at91_cpu.c @@ -5,7 +5,6 @@ * Author: Claudiu Beznea <claudiu.bez...@microchip.com> */ -#include <common.h> #include <cpu.h> #include <dm.h> #include <div64.h> diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c index 3dd04fa88581..db624ee47fb0 100644 --- a/drivers/cpu/bmips_cpu.c +++ b/drivers/cpu/bmips_cpu.c @@ -7,7 +7,6 @@ * Copyright (C) 2009 Florian Fainelli <flor...@openwrt.org> */ -#include <common.h> #include <cpu.h> #include <display_options.h> #include <dm.h> diff --git a/drivers/cpu/cpu-uclass.c b/drivers/cpu/cpu-uclass.c index 9772578968ba..16f8f2e52194 100644 --- a/drivers/cpu/cpu-uclass.c +++ b/drivers/cpu/cpu-uclass.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_CPU -#include <common.h> #include <cpu.h> #include <dm.h> #include <errno.h> diff --git a/drivers/cpu/cpu_sandbox.c b/drivers/cpu/cpu_sandbox.c index 2e871fe313c1..e65e1bdc51bf 100644 --- a/drivers/cpu/cpu_sandbox.c +++ b/drivers/cpu/cpu_sandbox.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario....@gdsys.cc */ -#include <common.h> #include <dm.h> #include <cpu.h> diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c index 98ff95f5ff5c..4781a565547a 100644 --- a/drivers/cpu/imx8_cpu.c +++ b/drivers/cpu/imx8_cpu.c @@ -3,7 +3,6 @@ * Copyright 2019 NXP */ -#include <common.h> #include <cpu.h> #include <dm.h> #include <thermal.h> diff --git a/drivers/cpu/microblaze_cpu.c b/drivers/cpu/microblaze_cpu.c index a229f6913b07..4e24ada40022 100644 --- a/drivers/cpu/microblaze_cpu.c +++ b/drivers/cpu/microblaze_cpu.c @@ -2,7 +2,6 @@ /* * Copyright (C) 2022, Ovidiu Panait <ovpan...@gmail.com> */ -#include <common.h> #include <cpu.h> #include <dm.h> #include <asm/cpuinfo.h> diff --git a/drivers/cpu/mpc83xx_cpu.c b/drivers/cpu/mpc83xx_cpu.c index e451c11116ab..9a7b5fd7c423 100644 --- a/drivers/cpu/mpc83xx_cpu.c +++ b/drivers/cpu/mpc83xx_cpu.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario....@gdsys.cc */ -#include <common.h> #include <bitfield.h> #include <clk.h> #include <cpu.h> diff --git a/drivers/cpu/riscv_cpu.c b/drivers/cpu/riscv_cpu.c index 9b1950efe05e..4f2958a23cee 100644 --- a/drivers/cpu/riscv_cpu.c +++ b/drivers/cpu/riscv_cpu.c @@ -5,7 +5,6 @@ */ #include <clk.h> -#include <common.h> #include <cpu.h> #include <dm.h> #include <errno.h> -- 2.34.1