mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig
Subsystems (123)
Re: [PATCH 33/81] gpio: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Looks ok, tested on FriendlyElec-Board NanoPC-T2 (s5p4418_nanopi2_defconfig).
Thanks a lot!
Quoted 873 lines
---
Cc: Tom Rini <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Lars Povlsen <[email protected]>
Cc: Horatiu Vultur <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Qu Wenruo <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Piotr Wojtaszczyk <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Samuel Holland <[email protected]>
Cc: Sam Edwards <[email protected]>--- drivers/gpio/74x164_gpio.c | 1 - drivers/gpio/altera_pio.c | 1 - drivers/gpio/at91_gpio.c | 1 - drivers/gpio/atmel_pio4.c | 1 - drivers/gpio/axp_gpio.c | 1 - drivers/gpio/bcm2835_gpio.c | 1 - drivers/gpio/bcm6345_gpio.c | 1 - drivers/gpio/cortina_gpio.c | 1 - drivers/gpio/da8xx_gpio.c | 1 - drivers/gpio/ftgpio010.c | 1 - drivers/gpio/gpio-aspeed.c | 1 - drivers/gpio/gpio-fxl6408.c | 1 - drivers/gpio/gpio-rcar.c | 1 - drivers/gpio/gpio-rza1.c | 1 - drivers/gpio/gpio-uclass.c | 1 - drivers/gpio/gpio-uniphier.c | 1 - drivers/gpio/gpio_slg7xl45106.c | 1 - drivers/gpio/hi6220_gpio.c | 1 - drivers/gpio/hsdk-creg-gpio.c | 1 - drivers/gpio/imx_rgpio2p.c | 1 - drivers/gpio/intel_broadwell_gpio.c | 1 - drivers/gpio/intel_gpio.c | 1 - drivers/gpio/intel_ich6_gpio.c | 1 - drivers/gpio/iproc_gpio.c | 1 - drivers/gpio/kw_gpio.c | 1 - drivers/gpio/lpc32xx_gpio.c | 1 - drivers/gpio/max7320_gpio.c | 1 - drivers/gpio/mcp230xx_gpio.c | 1 - drivers/gpio/mpc83xx_spisel_boot.c | 1 - drivers/gpio/mpc8xx_gpio.c | 1 - drivers/gpio/mpc8xxx_gpio.c | 1 - drivers/gpio/mscc_sgpio.c | 1 - drivers/gpio/msm_gpio.c | 1 - drivers/gpio/mt7621_gpio.c | 1 - drivers/gpio/mvebu_gpio.c | 1 - drivers/gpio/mxc_gpio.c | 1 - drivers/gpio/mxs_gpio.c | 1 - drivers/gpio/nmk_gpio.c | 1 - drivers/gpio/npcm_gpio.c | 1 - drivers/gpio/nx_gpio.c | 1 - drivers/gpio/omap_gpio.c | 1 - drivers/gpio/pca953x.c | 3 ++- drivers/gpio/pca953x_gpio.c | 1 - drivers/gpio/pcf8575_gpio.c | 1 - drivers/gpio/pic32_gpio.c | 1 - drivers/gpio/qcom_pmic_gpio.c | 1 - drivers/gpio/qe_gpio.c | 1 - drivers/gpio/rk_gpio.c | 1 - drivers/gpio/s5p_gpio.c | 1 - drivers/gpio/sandbox.c | 1 - drivers/gpio/sandbox_test.c | 1 - drivers/gpio/sh_pfc.c | 1 - drivers/gpio/sifive-gpio.c | 1 - drivers/gpio/sl28cpld-gpio.c | 1 - drivers/gpio/stm32_gpio.c | 1 - drivers/gpio/sunxi_gpio.c | 1 - drivers/gpio/tca642x.c | 2 +- drivers/gpio/tegra186_gpio.c | 1 - drivers/gpio/tegra_gpio.c | 1 - drivers/gpio/vybrid_gpio.c | 1 - drivers/gpio/xilinx_gpio.c | 1 - drivers/gpio/zynq_gpio.c | 1 - drivers/gpio/zynqmp_gpio_modepin.c | 1 - 63 files changed, 3 insertions(+), 63 deletions(-)drivers/gpio/74x164_gpio.c +0
-1@@ -8,7 +8,6 @@* */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/altera_pio.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2011 Missing Link Electronics * Joachim Foerster <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/gpio/at91_gpio.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/gpio/atmel_pio4.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2015 Atmel Corporation * Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/axp_gpio.c +0
-1@@ -5,7 +5,6 @@* X-Powers AXP Power Management ICs gpio driver */ -#include <common.h> #include <asm/arch/pmic_bus.h> #include <asm/gpio.h> #include <axp_pmic.h> drivers/gpio/bcm2835_gpio.c +0
-1@@ -4,7 +4,6 @@* <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/pinctrl.h> #include <errno.h> drivers/gpio/bcm6345_gpio.c +0
-1@@ -7,7 +7,6 @@* Copyright (C) 2008-2011 Florian Fainelli <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/gpio.h> drivers/gpio/cortina_gpio.c +0
-1@@ -5,7 +5,6 @@* GPIO Driver for Cortina Access CAxxxx Line of SoCs */ -#include <common.h> #include <dm.h> #include <log.h> #include <asm/io.h> drivers/gpio/da8xx_gpio.c +0
-1@@ -6,7 +6,6 @@* Laurence Withers <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <malloc.h> drivers/gpio/ftgpio010.c +0
-1@@ -3,7 +3,6 @@* Faraday Technology's FTGPIO010 controller. */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <asm/gpio.h> drivers/gpio/gpio-aspeed.c +0
-1@@ -6,7 +6,6 @@* * Implementation extracted from the Linux kernel and adapted for u-boot. */ -#include <common.h> #include <asm/io.h> #include <asm/gpio.h> drivers/gpio/gpio-fxl6408.c +0
-1@@ -37,7 +37,6 @@#include <asm-generic/gpio.h> #include <asm/global_data.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dt-bindings/gpio/gpio.h> drivers/gpio/gpio-rcar.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/gpio/gpio-rza1.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2019 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/gpio/gpio-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <log.h> drivers/gpio/gpio-uniphier.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <linux/bitops.h> #include <linux/io.h> drivers/gpio/gpio_slg7xl45106.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2021 Xilinx, Inc. */ -#include <common.h> #include <errno.h> #include <asm/io.h> #include <asm/gpio.h> drivers/gpio/hi6220_gpio.c +0
-1@@ -4,7 +4,6 @@* Peter Griffin <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <asm/io.h> drivers/gpio/hsdk-creg-gpio.c +0
-1@@ -12,7 +12,6 @@#include <log.h> #include <asm-generic/gpio.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/bitops.h> drivers/gpio/imx_rgpio2p.c +0
-1@@ -5,7 +5,6 @@* RGPIO2P driver for the Freescale i.MX7ULP. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/intel_broadwell_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2012 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/intel_gpio.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/intel_ich6_gpio.c +0
-1@@ -28,7 +28,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/iproc_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 Broadcom */ -#include <common.h> #include <errno.h> #include <asm/gpio.h> #include <asm/io.h> drivers/gpio/kw_gpio.c +0
-1@@ -12,7 +12,6 @@* Dieter Kiermaier [email protected] */ -#include <common.h> #include <linux/bitops.h> #include <asm/io.h> #include <asm/arch/soc.h> drivers/gpio/lpc32xx_gpio.c +0
-1@@ -6,7 +6,6 @@* Written-by: Albert ARIBAUD <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/arch-lpc32xx/cpu.h> #include <asm/arch-lpc32xx/gpio.h> drivers/gpio/max7320_gpio.c +0
-1@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <asm-generic/gpio.h> drivers/gpio/mcp230xx_gpio.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <errno.h> #include <dm.h> #include <i2c.h> drivers/gpio/mpc83xx_spisel_boot.c +0
-1@@ -5,7 +5,6 @@* GPIO driver to set/clear SPISEL_BOOT pin on mpc83xx. */ -#include <common.h> #include <log.h> #include <dm.h> #include <mapmem.h> drivers/gpio/mpc8xx_gpio.c +0
-1@@ -10,7 +10,6 @@* Copyright 2010 eXMeritus, A Boeing Company */ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <mapmem.h> drivers/gpio/mpc8xxx_gpio.c +0
-1@@ -9,7 +9,6 @@* Copyright 2020-2021 NXP */ -#include <common.h> #include <dm.h> #include <mapmem.h> #include <asm/gpio.h> drivers/gpio/mscc_sgpio.c +0
-1@@ -7,7 +7,6 @@* Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> #include <dm.h> #include <log.h> #include <asm/gpio.h> drivers/gpio/msm_gpio.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2015 Mateusz Kulikowski <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/global_data.h> drivers/gpio/mt7621_gpio.c +0
-1@@ -7,7 +7,6 @@* Copyright (C) 2013 John Crispin <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/mvebu_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/pinctrl.h> #include <asm/gpio.h> drivers/gpio/mxc_gpio.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2011 * Stefano Babic, DENX Software Engineering, <[email protected]> */ -#include <common.h> #include <errno.h> #include <dm.h> #include <malloc.h> drivers/gpio/mxs_gpio.c +0
-1@@ -6,7 +6,6 @@* on behalf of DENX Software Engineering GmbH */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/global_data.h> drivers/gpio/nmk_gpio.c +0
-1@@ -1,7 +1,6 @@// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2019 Stephan Gerhold */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <asm/io.h> drivers/gpio/npcm_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <linux/io.h> drivers/gpio/nx_gpio.c +0
-1@@ -4,7 +4,6 @@* DeokJin, Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/gpio/omap_gpio.c +0
-1@@ -17,7 +17,6 @@* Copyright (C) 2003-2005 Nokia Corporation * Written by Juha Yrjölä <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/gpio/pca953x.c +2
-1@@ -8,10 +8,11 @@* pca9539, etc) */ -#include <common.h> +#include <config.h> #include <command.h> #include <i2c.h> #include <pca953x.h> +#include <vsprintf.h> /* Default to an address that hopefully won't corrupt other i2c devices */ #ifndef CFG_SYS_I2C_PCA953X_ADDR drivers/gpio/pca953x_gpio.c +0
-1@@ -18,7 +18,6 @@* 2. Support Polarity Inversion */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/pcf8575_gpio.c +0
-1@@ -17,7 +17,6 @@* */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/gpio/pic32_gpio.c +0
-1@@ -4,7 +4,6 @@* Purna Chandra Mandal <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/gpio/qcom_pmic_gpio.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2015 Mateusz Kulikowski <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/lists.h> drivers/gpio/qe_gpio.c +0
-1@@ -4,7 +4,6 @@* Christophe Leroy <[email protected]> */ -#include <common.h> #include <dm.h> #include <mapmem.h> #include <asm/gpio.h> drivers/gpio/rk_gpio.c +0
-1@@ -6,7 +6,6 @@* Peter, Software Engineering, <[email protected]>. */ -#include <common.h> #include <dm.h> #include <syscon.h> #include <linux/errno.h> drivers/gpio/s5p_gpio.c +0
-1@@ -4,7 +4,6 @@* Minkyu Kang <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/sandbox.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/gpio/sandbox_test.c +0
-1@@ -5,7 +5,6 @@* Copyright 2021 Google LLC */ -#include <common.h> #include <dm.h> #include <asm-generic/gpio.h> drivers/gpio/sh_pfc.c +0
-1@@ -9,7 +9,6 @@* for more details. */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/bitops.h> drivers/gpio/sifive-gpio.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2019 SiFive, Inc. */ -#include <common.h> #include <dm.h> #include <asm/arch/gpio.h> #include <asm/io.h> drivers/gpio/sl28cpld-gpio.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2021 Michael Walle <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <sl28cpld.h> drivers/gpio/stm32_gpio.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/sunxi_gpio.c +0
-1@@ -9,7 +9,6 @@* Tom Cubie <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/tca642x.c +1
-1@@ -20,7 +20,7 @@* MA 02111-1307 USA */ -#include <common.h> +#include <config.h> #include <command.h> #include <i2c.h> #include <tca642x.h> drivers/gpio/tegra186_gpio.c +0
-1@@ -4,7 +4,6 @@* (based on tegra_gpio.c) */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <errno.h> drivers/gpio/tegra_gpio.c +0
-1@@ -10,7 +10,6 @@* Tom Warren ([email protected]) */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/gpio/vybrid_gpio.c +0
-1@@ -4,7 +4,6 @@* Bhuvanchandra DV, Toradex, Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/xilinx_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 - 2018 Xilinx, Michal Simek */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/gpio/zynq_gpio.c +0
-1@@ -8,7 +8,6 @@* Copyright (C) 2009 - 2014 Xilinx, Inc. */ -#include <common.h> #include <asm/gpio.h> #include <asm/io.h> #include <linux/bitops.h> drivers/gpio/zynqmp_gpio_modepin.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2021 Xilinx, Inc. */ -#include <common.h> #include <errno.h> #include <asm/io.h> #include <asm/gpio.h>
Re: [PATCH 33/81] gpio: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 873 lines
---
Cc: Tom Rini <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Lars Povlsen <[email protected]>
Cc: Horatiu Vultur <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Qu Wenruo <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Piotr Wojtaszczyk <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Samuel Holland <[email protected]>
Cc: Sam Edwards <[email protected]>--- drivers/gpio/74x164_gpio.c | 1 - drivers/gpio/altera_pio.c | 1 - drivers/gpio/at91_gpio.c | 1 - drivers/gpio/atmel_pio4.c | 1 - drivers/gpio/axp_gpio.c | 1 - drivers/gpio/bcm2835_gpio.c | 1 - drivers/gpio/bcm6345_gpio.c | 1 - drivers/gpio/cortina_gpio.c | 1 - drivers/gpio/da8xx_gpio.c | 1 - drivers/gpio/ftgpio010.c | 1 - drivers/gpio/gpio-aspeed.c | 1 - drivers/gpio/gpio-fxl6408.c | 1 - drivers/gpio/gpio-rcar.c | 1 - drivers/gpio/gpio-rza1.c | 1 - drivers/gpio/gpio-uclass.c | 1 - drivers/gpio/gpio-uniphier.c | 1 - drivers/gpio/gpio_slg7xl45106.c | 1 - drivers/gpio/hi6220_gpio.c | 1 - drivers/gpio/hsdk-creg-gpio.c | 1 - drivers/gpio/imx_rgpio2p.c | 1 - drivers/gpio/intel_broadwell_gpio.c | 1 - drivers/gpio/intel_gpio.c | 1 - drivers/gpio/intel_ich6_gpio.c | 1 - drivers/gpio/iproc_gpio.c | 1 - drivers/gpio/kw_gpio.c | 1 - drivers/gpio/lpc32xx_gpio.c | 1 - drivers/gpio/max7320_gpio.c | 1 - drivers/gpio/mcp230xx_gpio.c | 1 - drivers/gpio/mpc83xx_spisel_boot.c | 1 - drivers/gpio/mpc8xx_gpio.c | 1 - drivers/gpio/mpc8xxx_gpio.c | 1 - drivers/gpio/mscc_sgpio.c | 1 - drivers/gpio/msm_gpio.c | 1 - drivers/gpio/mt7621_gpio.c | 1 - drivers/gpio/mvebu_gpio.c | 1 - drivers/gpio/mxc_gpio.c | 1 - drivers/gpio/mxs_gpio.c | 1 - drivers/gpio/nmk_gpio.c | 1 - drivers/gpio/npcm_gpio.c | 1 - drivers/gpio/nx_gpio.c | 1 - drivers/gpio/omap_gpio.c | 1 - drivers/gpio/pca953x.c | 3 ++- drivers/gpio/pca953x_gpio.c | 1 - drivers/gpio/pcf8575_gpio.c | 1 - drivers/gpio/pic32_gpio.c | 1 - drivers/gpio/qcom_pmic_gpio.c | 1 - drivers/gpio/qe_gpio.c | 1 - drivers/gpio/rk_gpio.c | 1 - drivers/gpio/s5p_gpio.c | 1 - drivers/gpio/sandbox.c | 1 - drivers/gpio/sandbox_test.c | 1 - drivers/gpio/sh_pfc.c | 1 - drivers/gpio/sifive-gpio.c | 1 - drivers/gpio/sl28cpld-gpio.c | 1 - drivers/gpio/stm32_gpio.c | 1 - drivers/gpio/sunxi_gpio.c | 1 - drivers/gpio/tca642x.c | 2 +- drivers/gpio/tegra186_gpio.c | 1 - drivers/gpio/tegra_gpio.c | 1 - drivers/gpio/vybrid_gpio.c | 1 - drivers/gpio/xilinx_gpio.c | 1 - drivers/gpio/zynq_gpio.c | 1 - drivers/gpio/zynqmp_gpio_modepin.c | 1 - 63 files changed, 3 insertions(+), 63 deletions(-)drivers/gpio/74x164_gpio.c +0
-1@@ -8,7 +8,6 @@* */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/altera_pio.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2011 Missing Link Electronics * Joachim Foerster <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/gpio/at91_gpio.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/gpio/atmel_pio4.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2015 Atmel Corporation * Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/axp_gpio.c +0
-1@@ -5,7 +5,6 @@* X-Powers AXP Power Management ICs gpio driver */ -#include <common.h> #include <asm/arch/pmic_bus.h> #include <asm/gpio.h> #include <axp_pmic.h> drivers/gpio/bcm2835_gpio.c +0
-1@@ -4,7 +4,6 @@* <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/pinctrl.h> #include <errno.h> drivers/gpio/bcm6345_gpio.c +0
-1@@ -7,7 +7,6 @@* Copyright (C) 2008-2011 Florian Fainelli <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/gpio.h> drivers/gpio/cortina_gpio.c +0
-1@@ -5,7 +5,6 @@* GPIO Driver for Cortina Access CAxxxx Line of SoCs */ -#include <common.h> #include <dm.h> #include <log.h> #include <asm/io.h> drivers/gpio/da8xx_gpio.c +0
-1@@ -6,7 +6,6 @@* Laurence Withers <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <malloc.h> drivers/gpio/ftgpio010.c +0
-1@@ -3,7 +3,6 @@* Faraday Technology's FTGPIO010 controller. */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <asm/gpio.h> drivers/gpio/gpio-aspeed.c +0
-1@@ -6,7 +6,6 @@* * Implementation extracted from the Linux kernel and adapted for u-boot. */ -#include <common.h> #include <asm/io.h> #include <asm/gpio.h> drivers/gpio/gpio-fxl6408.c +0
-1@@ -37,7 +37,6 @@#include <asm-generic/gpio.h> #include <asm/global_data.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dt-bindings/gpio/gpio.h> drivers/gpio/gpio-rcar.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/gpio/gpio-rza1.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2019 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/gpio/gpio-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <log.h> drivers/gpio/gpio-uniphier.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <linux/bitops.h> #include <linux/io.h> drivers/gpio/gpio_slg7xl45106.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2021 Xilinx, Inc. */ -#include <common.h> #include <errno.h> #include <asm/io.h> #include <asm/gpio.h> drivers/gpio/hi6220_gpio.c +0
-1@@ -4,7 +4,6 @@* Peter Griffin <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <asm/io.h> drivers/gpio/hsdk-creg-gpio.c +0
-1@@ -12,7 +12,6 @@#include <log.h> #include <asm-generic/gpio.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/bitops.h> drivers/gpio/imx_rgpio2p.c +0
-1@@ -5,7 +5,6 @@* RGPIO2P driver for the Freescale i.MX7ULP. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/intel_broadwell_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2012 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/intel_gpio.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/intel_ich6_gpio.c +0
-1@@ -28,7 +28,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/iproc_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 Broadcom */ -#include <common.h> #include <errno.h> #include <asm/gpio.h> #include <asm/io.h> drivers/gpio/kw_gpio.c +0
-1@@ -12,7 +12,6 @@* Dieter Kiermaier [email protected] */ -#include <common.h> #include <linux/bitops.h> #include <asm/io.h> #include <asm/arch/soc.h> drivers/gpio/lpc32xx_gpio.c +0
-1@@ -6,7 +6,6 @@* Written-by: Albert ARIBAUD <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/arch-lpc32xx/cpu.h> #include <asm/arch-lpc32xx/gpio.h> drivers/gpio/max7320_gpio.c +0
-1@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <asm-generic/gpio.h> drivers/gpio/mcp230xx_gpio.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <errno.h> #include <dm.h> #include <i2c.h> drivers/gpio/mpc83xx_spisel_boot.c +0
-1@@ -5,7 +5,6 @@* GPIO driver to set/clear SPISEL_BOOT pin on mpc83xx. */ -#include <common.h> #include <log.h> #include <dm.h> #include <mapmem.h> drivers/gpio/mpc8xx_gpio.c +0
-1@@ -10,7 +10,6 @@* Copyright 2010 eXMeritus, A Boeing Company */ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <mapmem.h> drivers/gpio/mpc8xxx_gpio.c +0
-1@@ -9,7 +9,6 @@* Copyright 2020-2021 NXP */ -#include <common.h> #include <dm.h> #include <mapmem.h> #include <asm/gpio.h> drivers/gpio/mscc_sgpio.c +0
-1@@ -7,7 +7,6 @@* Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> #include <dm.h> #include <log.h> #include <asm/gpio.h> drivers/gpio/msm_gpio.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2015 Mateusz Kulikowski <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/global_data.h> drivers/gpio/mt7621_gpio.c +0
-1@@ -7,7 +7,6 @@* Copyright (C) 2013 John Crispin <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/mvebu_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/pinctrl.h> #include <asm/gpio.h> drivers/gpio/mxc_gpio.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2011 * Stefano Babic, DENX Software Engineering, <[email protected]> */ -#include <common.h> #include <errno.h> #include <dm.h> #include <malloc.h> drivers/gpio/mxs_gpio.c +0
-1@@ -6,7 +6,6 @@* on behalf of DENX Software Engineering GmbH */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/global_data.h> drivers/gpio/nmk_gpio.c +0
-1@@ -1,7 +1,6 @@// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2019 Stephan Gerhold */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <asm/io.h> drivers/gpio/npcm_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <linux/io.h> drivers/gpio/nx_gpio.c +0
-1@@ -4,7 +4,6 @@* DeokJin, Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/gpio/omap_gpio.c +0
-1@@ -17,7 +17,6 @@* Copyright (C) 2003-2005 Nokia Corporation * Written by Juha Yrjölä <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/gpio/pca953x.c +2
-1@@ -8,10 +8,11 @@* pca9539, etc) */ -#include <common.h> +#include <config.h> #include <command.h> #include <i2c.h> #include <pca953x.h> +#include <vsprintf.h> /* Default to an address that hopefully won't corrupt other i2c devices */ #ifndef CFG_SYS_I2C_PCA953X_ADDR drivers/gpio/pca953x_gpio.c +0
-1@@ -18,7 +18,6 @@* 2. Support Polarity Inversion */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/pcf8575_gpio.c +0
-1@@ -17,7 +17,6 @@* */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/gpio/pic32_gpio.c +0
-1@@ -4,7 +4,6 @@* Purna Chandra Mandal <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/gpio/qcom_pmic_gpio.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2015 Mateusz Kulikowski <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/lists.h> drivers/gpio/qe_gpio.c +0
-1@@ -4,7 +4,6 @@* Christophe Leroy <[email protected]> */ -#include <common.h> #include <dm.h> #include <mapmem.h> #include <asm/gpio.h> drivers/gpio/rk_gpio.c +0
-1@@ -6,7 +6,6 @@* Peter, Software Engineering, <[email protected]>. */ -#include <common.h> #include <dm.h> #include <syscon.h> #include <linux/errno.h> drivers/gpio/s5p_gpio.c +0
-1@@ -4,7 +4,6 @@* Minkyu Kang <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/sandbox.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/gpio/sandbox_test.c +0
-1@@ -5,7 +5,6 @@* Copyright 2021 Google LLC */ -#include <common.h> #include <dm.h> #include <asm-generic/gpio.h> drivers/gpio/sh_pfc.c +0
-1@@ -9,7 +9,6 @@* for more details. */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/bitops.h> drivers/gpio/sifive-gpio.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2019 SiFive, Inc. */ -#include <common.h> #include <dm.h> #include <asm/arch/gpio.h> #include <asm/io.h> drivers/gpio/sl28cpld-gpio.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2021 Michael Walle <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <sl28cpld.h> drivers/gpio/stm32_gpio.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/gpio/sunxi_gpio.c +0
-1@@ -9,7 +9,6 @@* Tom Cubie <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/tca642x.c +1
-1@@ -20,7 +20,7 @@* MA 02111-1307 USA */ -#include <common.h> +#include <config.h> #include <command.h> #include <i2c.h> #include <tca642x.h> drivers/gpio/tegra186_gpio.c +0
-1@@ -4,7 +4,6 @@* (based on tegra_gpio.c) */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <errno.h> drivers/gpio/tegra_gpio.c +0
-1@@ -10,7 +10,6 @@* Tom Warren ([email protected]) */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/gpio/vybrid_gpio.c +0
-1@@ -4,7 +4,6 @@* Bhuvanchandra DV, Toradex, Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/gpio/xilinx_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 - 2018 Xilinx, Michal Simek */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/gpio/zynq_gpio.c +0
-1@@ -8,7 +8,6 @@* Copyright (C) 2009 - 2014 Xilinx, Inc. */ -#include <common.h> #include <asm/gpio.h> #include <asm/io.h> #include <linux/bitops.h> drivers/gpio/zynqmp_gpio_modepin.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2021 Xilinx, Inc. */ -#include <common.h> #include <errno.h> #include <asm/io.h> #include <asm/gpio.h>
PATCH 34/81 hwspinlock: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Marek Vasut <[email protected]>
--- drivers/hwspinlock/hwspinlock-uclass.c | 1 - drivers/hwspinlock/sandbox_hwspinlock.c | 1 - drivers/hwspinlock/stm32_hwspinlock.c | 1 - 3 files changed, 3 deletions(-)
drivers/hwspinlock/hwspinlock-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_HWSPINLOCK -#include <common.h> #include <dm.h> #include <errno.h> #include <hwspinlock.h>
drivers/hwspinlock/sandbox_hwspinlock.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <dm.h> #include <hwspinlock.h> #include <asm/state.h>
drivers/hwspinlock/stm32_hwspinlock.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_HWSPINLOCK -#include <common.h> #include <clk.h> #include <dm.h> #include <hwspinlock.h>
Signature · 1 line
2.34.1
PATCH 35/81 i2c: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Heiko Schocher <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
--- drivers/i2c/acpi_i2c.c | 1 - drivers/i2c/ast2600_i2c.c | 1 - drivers/i2c/ast_i2c.c | 1 - drivers/i2c/at91_i2c.c | 1 - drivers/i2c/cros_ec_ldo.c | 1 - drivers/i2c/cros_ec_tunnel.c | 1 - drivers/i2c/davinci_i2c.c | 2 +- drivers/i2c/designware_i2c.c | 1 - drivers/i2c/designware_i2c_pci.c | 1 - drivers/i2c/exynos_hs_i2c.c | 1 - drivers/i2c/fsl_i2c.c | 2 +- drivers/i2c/i2c-cdns.c | 1 - drivers/i2c/i2c-cortina.c | 2 +- drivers/i2c/i2c-emul-uclass.c | 1 - drivers/i2c/i2c-gpio.c | 1 - drivers/i2c/i2c-microchip.c | 1 - drivers/i2c/i2c-uclass.c | 1 - drivers/i2c/i2c-versatile.c | 1 - drivers/i2c/i2c_core.c | 2 +- drivers/i2c/ihs_i2c.c | 1 - drivers/i2c/imx_lpi2c.c | 1 - drivers/i2c/intel_i2c.c | 2 +- drivers/i2c/iproc_i2c.c | 1 - drivers/i2c/lpc32xx_i2c.c | 2 +- drivers/i2c/meson_i2c.c | 1 - drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 +- drivers/i2c/muxes/i2c-mux-gpio.c | 1 - drivers/i2c/muxes/i2c-mux-uclass.c | 1 - drivers/i2c/muxes/pca954x.c | 1 - drivers/i2c/mv_i2c.c | 1 - drivers/i2c/mvtwsi.c | 2 +- drivers/i2c/mxc_i2c.c | 2 +- drivers/i2c/nx_i2c.c | 2 +- drivers/i2c/ocores_i2c.c | 1 - drivers/i2c/omap24xx_i2c.c | 1 - drivers/i2c/qup_i2c.c | 1 - drivers/i2c/rcar_i2c.c | 1 - drivers/i2c/rcar_iic.c | 1 - drivers/i2c/rk_i2c.c | 1 - drivers/i2c/s3c24x0_i2c.c | 2 +- drivers/i2c/sandbox_i2c.c | 1 - drivers/i2c/sh_i2c.c | 1 - drivers/i2c/soft_i2c.c | 2 +- drivers/i2c/stm32f7_i2c.c | 1 - drivers/i2c/sun6i_p2wi.c | 1 - drivers/i2c/sun8i_rsb.c | 1 - drivers/i2c/tegra186_bpmp_i2c.c | 1 - drivers/i2c/tegra_i2c.c | 1 - drivers/i2c/xilinx_xiic.c | 1 - 49 files changed, 12 insertions(+), 49 deletions(-)
drivers/i2c/acpi_i2c.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/i2c/ast2600_i2c.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright ASPEED Technology Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/i2c/ast_i2c.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2017 Google, Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/i2c/at91_i2c.c +0 -1
@@ -8,7 +8,6 @@#include <malloc.h> #include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/i2c/cros_ec_ldo.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <cros_ec.h> #include <errno.h>
drivers/i2c/cros_ec_tunnel.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <cros_ec.h> #include <errno.h>
drivers/i2c/davinci_i2c.c +1 -1
@@ -11,7 +11,7 @@* Please see doc/driver-model/i2c-howto.rst for instructions. */ -#include <common.h> +#include <config.h> #include <i2c.h> #include <dm.h> #include <log.h>
drivers/i2c/designware_i2c.c +0 -1
@@ -4,7 +4,6 @@* Vipin Kumar, STMicroelectronics, [email protected]. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h>
drivers/i2c/designware_i2c_pci.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2019 Google Inc */ -#include <common.h> #include <dm.h> #include <log.h> #include <spl.h>
drivers/i2c/exynos_hs_i2c.c +0 -1
@@ -6,7 +6,6 @@* David Mueller, ELSOFT AG, [email protected] */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/i2c/fsl_i2c.c +1 -1
@@ -6,7 +6,7 @@* Changes for multibus/multiadapter I2C support. */ -#include <common.h> +#include <config.h> #include <command.h> #include <i2c.h> /* Functional interface */ #include <log.h>
drivers/i2c/i2c-cdns.c +0 -1
@@ -7,7 +7,6 @@* with added driver-model support and code cleanup. */ -#include <common.h> #include <dm.h> #include <log.h> #include <linux/bitops.h>
drivers/i2c/i2c-cortina.c +1 -1
@@ -4,12 +4,12 @@* Arthur Li, Cortina Access, [email protected]. */ -#include <common.h> #include <i2c.h> #include <log.h> #include <asm/io.h> #include <dm.h> #include <mapmem.h> +#include <time.h> #include "i2c-cortina.h" static void set_speed (struct i2c_regs *regs,int i2c_spd)
drivers/i2c/i2c-emul-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C_EMUL -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/i2c/i2c-gpio.c +0 -1
@@ -5,7 +5,6 @@* This file is based on: drivers/i2c/soft-i2c.c, * with added driver-model support and code cleanup. */ -#include <common.h> #include <errno.h> #include <dm.h> #include <i2c.h>
drivers/i2c/i2c-microchip.c +0 -1
@@ -6,7 +6,6 @@* Padmarao Begari <[email protected]> * Conor Dooley <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h>
drivers/i2c/i2c-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/i2c-versatile.c +0 -1
@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/i2c_core.c +1 -1
@@ -7,7 +7,7 @@* * Multibus/multiadapter I2C core functions (wrappers) */ -#include <common.h> +#include <config.h> #include <i2c.h> #include <linker_lists.h> #include <asm/global_data.h>
drivers/i2c/ihs_i2c.c +0 -1
@@ -4,7 +4,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <i2c.h> #include <dm.h> #include <regmap.h>
drivers/i2c/imx_lpi2c.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2016 Freescale Semiconductors, Inc. */ -#include <common.h> #include <errno.h> #include <log.h> #include <asm/io.h>
drivers/i2c/intel_i2c.c +1 -1
@@ -7,11 +7,11 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> #include <pci.h> +#include <time.h> #include <asm/io.h> /* PCI Configuration Space (D31:F3): SMBus */
drivers/i2c/iproc_i2c.c +0 -1
@@ -6,7 +6,6 @@#include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <config.h> #include <dm.h> #include <linux/printk.h>
drivers/i2c/lpc32xx_i2c.c +1 -1
@@ -6,7 +6,7 @@* Written-by: Albert ARIBAUD - 3ADEV <[email protected]> */ -#include <common.h> +#include <config.h> #include <log.h> #include <asm/io.h> #include <i2c.h>
drivers/i2c/meson_i2c.c +0 -1
@@ -2,7 +2,6 @@/* * (C) Copyright 2017 - Beniamino Galvani <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/io.h> #include <clk.h>
drivers/i2c/muxes/i2c-arb-gpio-challenge.c +1 -1
@@ -4,12 +4,12 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> #include <log.h> #include <malloc.h> +#include <time.h> #include <asm/global_data.h> #include <asm/gpio.h> #include <linux/delay.h>
drivers/i2c/muxes/i2c-mux-gpio.c +0 -1
@@ -10,7 +10,6 @@#include <asm/global_data.h> #include <asm/io.h> #include <asm-generic/gpio.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h>
drivers/i2c/muxes/i2c-mux-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_I2C_MUX -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/muxes/pca954x.c +0 -1
@@ -5,7 +5,6 @@* Written by Michal Simek */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/mv_i2c.c +0 -1
@@ -16,7 +16,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/i2c/mvtwsi.c +1 -1
@@ -7,7 +7,7 @@* Copyright (c) 2010 Albert Aribaud. */ -#include <common.h> +#include <config.h> #include <i2c.h> #include <log.h> #include <asm/global_data.h>
drivers/i2c/mxc_i2c.c +1 -1
@@ -14,7 +14,7 @@* */ -#include <common.h> +#include <config.h> #include <log.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h>
drivers/i2c/nx_i2c.c +1 -1
@@ -1,8 +1,8 @@ -#include <common.h> #include <errno.h> #include <dm.h> #include <i2c.h> #include <log.h> +#include <time.h> #include <asm/arch/nexell.h> #include <asm/arch/reset.h> #include <asm/arch/clk.h>
drivers/i2c/ocores_i2c.c +0 -1
@@ -12,7 +12,6 @@* Andreas Larsson <[email protected]> */ -#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <clk.h>
drivers/i2c/omap24xx_i2c.c +0 -1
@@ -38,7 +38,6 @@* */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/i2c/qup_i2c.c +0 -1
@@ -9,7 +9,6 @@#include <init.h> #include <env.h> -#include <common.h> #include <log.h> #include <dm/device_compat.h> #include <linux/delay.h>
drivers/i2c/rcar_i2c.c +0 -1
@@ -11,7 +11,6 @@* Kuninori Morimoto <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h>
drivers/i2c/rcar_iic.c +0 -1
@@ -9,7 +9,6 @@* Copyright (C) 2011, 2013 Nobuhiro Iwamatsu <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h>
drivers/i2c/rk_i2c.c +0 -1
@@ -6,7 +6,6 @@* Peter, Software Engineering, <[email protected]>. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/i2c/s3c24x0_i2c.c +1 -1
@@ -4,10 +4,10 @@* David Mueller, ELSOFT AG, [email protected] */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> +#include <time.h> #if defined(CONFIG_ARCH_EXYNOS4 ) || defined(CONFIG_ARCH_EXYNOS5 )#include <log.h> #include <asm/arch/clk.h>
drivers/i2c/sandbox_i2c.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/sh_i2c.c +0 -1
@@ -7,7 +7,6 @@* Please see doc/driver-model/i2c-howto.rst for instructions. */ -#include <common.h> #include <i2c.h> #include <log.h> #include <asm/global_data.h>
drivers/i2c/soft_i2c.c +1 -1
@@ -15,7 +15,7 @@* Please see doc/driver-model/i2c-howto.rst for instructions. */ -#include <common.h> +#include <config.h> #if defined(CONFIG_AT91FAMILY )#include <asm/io.h> #include <asm/arch/hardware.h>
drivers/i2c/stm32f7_i2c.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h>
drivers/i2c/sun6i_p2wi.c +0 -1
@@ -15,7 +15,6 @@#include <axp_pmic.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/sun8i_rsb.c +0 -1
@@ -10,7 +10,6 @@#include <axp_pmic.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/tegra186_bpmp_i2c.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/i2c/tegra_i2c.c +0 -1
@@ -5,7 +5,6 @@* NVIDIA Corporation <www.nvidia.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/i2c/xilinx_xiic.c +0 -1
@@ -9,7 +9,6 @@* Copyright (c) 2009-2010 Intel Corporation */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h>
Signature · 1 line
2.34.1
Re: [PATCH 35/81] i2c: Remove <common.h> and add needed includes
Hello Tom,
Quoted 67 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>---
Cc: Heiko Schocher <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>--- drivers/i2c/acpi_i2c.c | 1 - drivers/i2c/ast2600_i2c.c | 1 - drivers/i2c/ast_i2c.c | 1 - drivers/i2c/at91_i2c.c | 1 - drivers/i2c/cros_ec_ldo.c | 1 - drivers/i2c/cros_ec_tunnel.c | 1 - drivers/i2c/davinci_i2c.c | 2 +- drivers/i2c/designware_i2c.c | 1 - drivers/i2c/designware_i2c_pci.c | 1 - drivers/i2c/exynos_hs_i2c.c | 1 - drivers/i2c/fsl_i2c.c | 2 +- drivers/i2c/i2c-cdns.c | 1 - drivers/i2c/i2c-cortina.c | 2 +- drivers/i2c/i2c-emul-uclass.c | 1 - drivers/i2c/i2c-gpio.c | 1 - drivers/i2c/i2c-microchip.c | 1 - drivers/i2c/i2c-uclass.c | 1 - drivers/i2c/i2c-versatile.c | 1 - drivers/i2c/i2c_core.c | 2 +- drivers/i2c/ihs_i2c.c | 1 - drivers/i2c/imx_lpi2c.c | 1 - drivers/i2c/intel_i2c.c | 2 +- drivers/i2c/iproc_i2c.c | 1 - drivers/i2c/lpc32xx_i2c.c | 2 +- drivers/i2c/meson_i2c.c | 1 - drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 +- drivers/i2c/muxes/i2c-mux-gpio.c | 1 - drivers/i2c/muxes/i2c-mux-uclass.c | 1 - drivers/i2c/muxes/pca954x.c | 1 - drivers/i2c/mv_i2c.c | 1 - drivers/i2c/mvtwsi.c | 2 +- drivers/i2c/mxc_i2c.c | 2 +- drivers/i2c/nx_i2c.c | 2 +- drivers/i2c/ocores_i2c.c | 1 - drivers/i2c/omap24xx_i2c.c | 1 - drivers/i2c/qup_i2c.c | 1 - drivers/i2c/rcar_i2c.c | 1 - drivers/i2c/rcar_iic.c | 1 - drivers/i2c/rk_i2c.c | 1 - drivers/i2c/s3c24x0_i2c.c | 2 +- drivers/i2c/sandbox_i2c.c | 1 - drivers/i2c/sh_i2c.c | 1 -
Quoted 8 lines
drivers/i2c/soft_i2c.c | 2 +- drivers/i2c/stm32f7_i2c.c | 1 - drivers/i2c/sun6i_p2wi.c | 1 - drivers/i2c/sun8i_rsb.c | 1 - drivers/i2c/tegra186_bpmp_i2c.c | 1 - drivers/i2c/tegra_i2c.c | 1 - drivers/i2c/xilinx_xiic.c | 1 - 49 files changed, 12 insertions(+), 49 deletions(-)
bye,
Heiko
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: [email protected]
Re: [PATCH 35/81] i2c: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Looks ok, tested on FriendlyElec-Board NanoPC-T2 (s5p4418_nanopi2_defconfig).
Thanks a lot!
Quoted 690 lines
---
Cc: Heiko Schocher <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>--- drivers/i2c/acpi_i2c.c | 1 - drivers/i2c/ast2600_i2c.c | 1 - drivers/i2c/ast_i2c.c | 1 - drivers/i2c/at91_i2c.c | 1 - drivers/i2c/cros_ec_ldo.c | 1 - drivers/i2c/cros_ec_tunnel.c | 1 - drivers/i2c/davinci_i2c.c | 2 +- drivers/i2c/designware_i2c.c | 1 - drivers/i2c/designware_i2c_pci.c | 1 - drivers/i2c/exynos_hs_i2c.c | 1 - drivers/i2c/fsl_i2c.c | 2 +- drivers/i2c/i2c-cdns.c | 1 - drivers/i2c/i2c-cortina.c | 2 +- drivers/i2c/i2c-emul-uclass.c | 1 - drivers/i2c/i2c-gpio.c | 1 - drivers/i2c/i2c-microchip.c | 1 - drivers/i2c/i2c-uclass.c | 1 - drivers/i2c/i2c-versatile.c | 1 - drivers/i2c/i2c_core.c | 2 +- drivers/i2c/ihs_i2c.c | 1 - drivers/i2c/imx_lpi2c.c | 1 - drivers/i2c/intel_i2c.c | 2 +- drivers/i2c/iproc_i2c.c | 1 - drivers/i2c/lpc32xx_i2c.c | 2 +- drivers/i2c/meson_i2c.c | 1 - drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 +- drivers/i2c/muxes/i2c-mux-gpio.c | 1 - drivers/i2c/muxes/i2c-mux-uclass.c | 1 - drivers/i2c/muxes/pca954x.c | 1 - drivers/i2c/mv_i2c.c | 1 - drivers/i2c/mvtwsi.c | 2 +- drivers/i2c/mxc_i2c.c | 2 +- drivers/i2c/nx_i2c.c | 2 +- drivers/i2c/ocores_i2c.c | 1 - drivers/i2c/omap24xx_i2c.c | 1 - drivers/i2c/qup_i2c.c | 1 - drivers/i2c/rcar_i2c.c | 1 - drivers/i2c/rcar_iic.c | 1 - drivers/i2c/rk_i2c.c | 1 - drivers/i2c/s3c24x0_i2c.c | 2 +- drivers/i2c/sandbox_i2c.c | 1 - drivers/i2c/sh_i2c.c | 1 - drivers/i2c/soft_i2c.c | 2 +- drivers/i2c/stm32f7_i2c.c | 1 - drivers/i2c/sun6i_p2wi.c | 1 - drivers/i2c/sun8i_rsb.c | 1 - drivers/i2c/tegra186_bpmp_i2c.c | 1 - drivers/i2c/tegra_i2c.c | 1 - drivers/i2c/xilinx_xiic.c | 1 - 49 files changed, 12 insertions(+), 49 deletions(-)drivers/i2c/acpi_i2c.c +0
-1@@ -3,7 +3,6 @@* Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/i2c/ast2600_i2c.c +0
-1@@ -2,7 +2,6 @@/* * Copyright ASPEED Technology Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/i2c/ast_i2c.c +0
-1@@ -5,7 +5,6 @@* Copyright 2017 Google, Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/i2c/at91_i2c.c +0
-1@@ -8,7 +8,6 @@#include <malloc.h> #include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/i2c/cros_ec_ldo.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <cros_ec.h> #include <errno.h> drivers/i2c/cros_ec_tunnel.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <cros_ec.h> #include <errno.h> drivers/i2c/davinci_i2c.c +1
-1@@ -11,7 +11,7 @@* Please see doc/driver-model/i2c-howto.rst for instructions. */ -#include <common.h> +#include <config.h> #include <i2c.h> #include <dm.h> #include <log.h> drivers/i2c/designware_i2c.c +0
-1@@ -4,7 +4,6 @@* Vipin Kumar, STMicroelectronics, [email protected]. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h> drivers/i2c/designware_i2c_pci.c +0
-1@@ -5,7 +5,6 @@* Copyright 2019 Google Inc */ -#include <common.h> #include <dm.h> #include <log.h> #include <spl.h> drivers/i2c/exynos_hs_i2c.c +0
-1@@ -6,7 +6,6 @@* David Mueller, ELSOFT AG, [email protected] */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/i2c/fsl_i2c.c +1
-1@@ -6,7 +6,7 @@* Changes for multibus/multiadapter I2C support. */ -#include <common.h> +#include <config.h> #include <command.h> #include <i2c.h> /* Functional interface */ #include <log.h> drivers/i2c/i2c-cdns.c +0
-1@@ -7,7 +7,6 @@* with added driver-model support and code cleanup. */ -#include <common.h> #include <dm.h> #include <log.h> #include <linux/bitops.h> drivers/i2c/i2c-cortina.c +1
-1@@ -4,12 +4,12 @@* Arthur Li, Cortina Access, [email protected]. */ -#include <common.h> #include <i2c.h> #include <log.h> #include <asm/io.h> #include <dm.h> #include <mapmem.h> +#include <time.h> #include "i2c-cortina.h" static void set_speed (struct i2c_regs *regs,int i2c_spd)drivers/i2c/i2c-emul-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C_EMUL -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/i2c/i2c-gpio.c +0
-1@@ -5,7 +5,6 @@* This file is based on: drivers/i2c/soft-i2c.c, * with added driver-model support and code cleanup. */ -#include <common.h> #include <errno.h> #include <dm.h> #include <i2c.h> drivers/i2c/i2c-microchip.c +0
-1@@ -6,7 +6,6 @@* Padmarao Begari <[email protected]> * Conor Dooley <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h> drivers/i2c/i2c-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/i2c-versatile.c +0
-1@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/i2c_core.c +1
-1@@ -7,7 +7,7 @@* * Multibus/multiadapter I2C core functions (wrappers) */ -#include <common.h> +#include <config.h> #include <i2c.h> #include <linker_lists.h> #include <asm/global_data.h> drivers/i2c/ihs_i2c.c +0
-1@@ -4,7 +4,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <i2c.h> #include <dm.h> #include <regmap.h> drivers/i2c/imx_lpi2c.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Freescale Semiconductors, Inc. */ -#include <common.h> #include <errno.h> #include <log.h> #include <asm/io.h> drivers/i2c/intel_i2c.c +1
-1@@ -7,11 +7,11 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> #include <pci.h> +#include <time.h> #include <asm/io.h> /* PCI Configuration Space (D31:F3): SMBus */ drivers/i2c/iproc_i2c.c +0
-1@@ -6,7 +6,6 @@#include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <config.h> #include <dm.h> #include <linux/printk.h> drivers/i2c/lpc32xx_i2c.c +1
-1@@ -6,7 +6,7 @@* Written-by: Albert ARIBAUD - 3ADEV <[email protected]> */ -#include <common.h> +#include <config.h> #include <log.h> #include <asm/io.h> #include <i2c.h> drivers/i2c/meson_i2c.c +0
-1@@ -2,7 +2,6 @@/* * (C) Copyright 2017 - Beniamino Galvani <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/io.h> #include <clk.h> drivers/i2c/muxes/i2c-arb-gpio-challenge.c +1
-1@@ -4,12 +4,12 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> #include <log.h> #include <malloc.h> +#include <time.h> #include <asm/global_data.h> #include <asm/gpio.h> #include <linux/delay.h> drivers/i2c/muxes/i2c-mux-gpio.c +0
-1@@ -10,7 +10,6 @@#include <asm/global_data.h> #include <asm/io.h> #include <asm-generic/gpio.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h> drivers/i2c/muxes/i2c-mux-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_I2C_MUX -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/muxes/pca954x.c +0
-1@@ -5,7 +5,6 @@* Written by Michal Simek */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/mv_i2c.c +0
-1@@ -16,7 +16,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/i2c/mvtwsi.c +1
-1@@ -7,7 +7,7 @@* Copyright (c) 2010 Albert Aribaud. */ -#include <common.h> +#include <config.h> #include <i2c.h> #include <log.h> #include <asm/global_data.h> drivers/i2c/mxc_i2c.c +1
-1@@ -14,7 +14,7 @@* */ -#include <common.h> +#include <config.h> #include <log.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> drivers/i2c/nx_i2c.c +1
-1@@ -1,8 +1,8 @@ -#include <common.h> #include <errno.h> #include <dm.h> #include <i2c.h> #include <log.h> +#include <time.h> #include <asm/arch/nexell.h> #include <asm/arch/reset.h> #include <asm/arch/clk.h> drivers/i2c/ocores_i2c.c +0
-1@@ -12,7 +12,6 @@* Andreas Larsson <[email protected]> */ -#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <clk.h> drivers/i2c/omap24xx_i2c.c +0
-1@@ -38,7 +38,6 @@* */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/i2c/qup_i2c.c +0
-1@@ -9,7 +9,6 @@#include <init.h> #include <env.h> -#include <common.h> #include <log.h> #include <dm/device_compat.h> #include <linux/delay.h> drivers/i2c/rcar_i2c.c +0
-1@@ -11,7 +11,6 @@* Kuninori Morimoto <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h> drivers/i2c/rcar_iic.c +0
-1@@ -9,7 +9,6 @@* Copyright (C) 2011, 2013 Nobuhiro Iwamatsu <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h> drivers/i2c/rk_i2c.c +0
-1@@ -6,7 +6,6 @@* Peter, Software Engineering, <[email protected]>. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/i2c/s3c24x0_i2c.c +1
-1@@ -4,10 +4,10 @@* David Mueller, ELSOFT AG, [email protected] */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> +#include <time.h> #if defined(CONFIG_ARCH_EXYNOS4 ) || defined(CONFIG_ARCH_EXYNOS5 )#include <log.h> #include <asm/arch/clk.h> drivers/i2c/sandbox_i2c.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/sh_i2c.c +0
-1@@ -7,7 +7,6 @@* Please see doc/driver-model/i2c-howto.rst for instructions. */ -#include <common.h> #include <i2c.h> #include <log.h> #include <asm/global_data.h> drivers/i2c/soft_i2c.c +1
-1@@ -15,7 +15,7 @@* Please see doc/driver-model/i2c-howto.rst for instructions. */ -#include <common.h> +#include <config.h> #if defined(CONFIG_AT91FAMILY )#include <asm/io.h> #include <asm/arch/hardware.h> drivers/i2c/stm32f7_i2c.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h> drivers/i2c/sun6i_p2wi.c +0
-1@@ -15,7 +15,6 @@#include <axp_pmic.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/sun8i_rsb.c +0
-1@@ -10,7 +10,6 @@#include <axp_pmic.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/tegra186_bpmp_i2c.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/i2c/tegra_i2c.c +0
-1@@ -5,7 +5,6 @@* NVIDIA Corporation <www.nvidia.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/i2c/xilinx_xiic.c +0
-1@@ -9,7 +9,6 @@* Copyright (c) 2009-2010 Intel Corporation */ -#include <common.h> #include <clk.h> #include <dm.h> #include <i2c.h>
PATCH 36/81 input: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
--- drivers/input/apple_spi_kbd.c | 1 - drivers/input/button_kbd.c | 1 - drivers/input/cros_ec_keyb.c | 1 - drivers/input/i8042.c | 1 - drivers/input/input.c | 2 +- drivers/input/key_matrix.c | 1 - drivers/input/keyboard-uclass.c | 1 - drivers/input/tegra-kbc.c | 2 +- 8 files changed, 2 insertions(+), 8 deletions(-)
drivers/input/apple_spi_kbd.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2021 Mark Kettenis <[email protected]> */ -#include <common.h> #include <dm.h> #include <keyboard.h> #include <spi.h>
drivers/input/button_kbd.c +0 -1
@@ -4,7 +4,6 @@*/ #include <stdlib.h> -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <input.h>
drivers/input/cros_ec_keyb.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2012 The Chromium OS Authors. */ -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <errno.h>
drivers/input/i8042.c +0 -1
@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_KEYBOARD -#include <common.h> #include <dm.h> #include <env.h> #include <errno.h>
drivers/input/input.c +1 -1
@@ -6,13 +6,13 @@* (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, [email protected] */ -#include <common.h> #include <console.h> #include <dm.h> #include <env.h> #include <errno.h> #include <log.h> #include <stdio_dev.h> +#include <time.h> #include <input.h> #ifdef CONFIG_DM_KEYBOARD #include <keyboard.h>
drivers/input/key_matrix.c +0 -1
@@ -6,7 +6,6 @@* (C) Copyright 2004 DENX Software Engineering, Wolfgang Denk, [email protected] */ -#include <common.h> #include <dm.h> #include <key_matrix.h> #include <log.h>
drivers/input/keyboard-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_KEYBOARD -#include <common.h> #include <dm.h> #include <keyboard.h> #include <log.h>
drivers/input/tegra-kbc.c +1 -1
@@ -4,7 +4,6 @@* NVIDIA Corporation <www.nvidia.com> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <input.h>
@@ -13,6 +12,7 @@#include <log.h> #include <stdio_dev.h> #include <tegra-kbc.h> +#include <time.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/funcmux.h>
Signature · 1 line
2.34.1
PATCH 37/81 iommu: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Mark Kettenis <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Caleb Connolly <[email protected]>
--- drivers/iommu/apple_dart.c | 1 - drivers/iommu/iommu-uclass.c | 1 - drivers/iommu/sandbox_iommu.c | 1 - 3 files changed, 3 deletions(-)
drivers/iommu/apple_dart.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2021 Mark Kettenis <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <iommu.h>
drivers/iommu/iommu-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_IOMMU -#include <common.h> #include <dm.h> #include <iommu.h> #include <malloc.h>
drivers/iommu/sandbox_iommu.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2021 Mark Kettenis <[email protected]> */ -#include <common.h> #include <dm.h> #include <iommu.h> #include <lmb.h>
Signature · 1 line
2.34.1
PATCH 38/81 led: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Ivan Vozvakhov <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Christian Gmeiner <[email protected]>
--- drivers/led/led-uclass.c | 1 - drivers/led/led_bcm6328.c | 1 - drivers/led/led_bcm6358.c | 1 - drivers/led/led_bcm6753.c | 1 - drivers/led/led_bcm6858.c | 1 - drivers/led/led_cortina.c | 1 - drivers/led/led_gpio.c | 1 - drivers/led/led_pwm.c | 1 - 8 files changed, 8 deletions(-)
drivers/led/led-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_LED -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
drivers/led/led_bcm6328.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2017 Álvaro Fernández Rojas <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
drivers/led/led_bcm6358.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2017 Álvaro Fernández Rojas <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
drivers/led/led_bcm6753.c +0 -1
@@ -6,7 +6,6 @@* drivers/led/led_bcm6858.c */ -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
drivers/led/led_bcm6858.c +0 -1
@@ -7,7 +7,6 @@* drivers/led/led_bcm6358.c */ -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
drivers/led/led_cortina.c +0 -1
@@ -6,7 +6,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
drivers/led/led_gpio.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
drivers/led/led_pwm.c +0 -1
@@ -4,7 +4,6 @@* Author: Ivan Vozvakhov <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <led.h>
Signature · 1 line
2.34.1
PATCH 39/81 mailbox: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Matthias Schiffer <[email protected]>
--- drivers/mailbox/apple-mbox.c | 1 - drivers/mailbox/k3-sec-proxy.c | 1 - drivers/mailbox/mailbox-uclass.c | 1 - drivers/mailbox/sandbox-mbox-test.c | 1 - drivers/mailbox/sandbox-mbox.c | 1 - drivers/mailbox/stm32-ipcc.c | 1 - drivers/mailbox/tegra-hsp.c | 1 - drivers/mailbox/zynqmp-ipi.c | 1 - 8 files changed, 8 deletions(-)
drivers/mailbox/apple-mbox.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2021 Mark Kettenis <[email protected]> */ -#include <common.h> #include <dm.h> #include <mailbox-uclass.h> #include <asm/io.h>
drivers/mailbox/k3-sec-proxy.c +0 -1
@@ -6,7 +6,6 @@* Lokesh Vutla <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/global_data.h>
drivers/mailbox/mailbox-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_MAILBOX -#include <common.h> #include <dm.h> #include <log.h> #include <mailbox.h>
drivers/mailbox/sandbox-mbox-test.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <mailbox.h> #include <malloc.h>
drivers/mailbox/sandbox-mbox.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mailbox-uclass.h>
drivers/mailbox/stm32-ipcc.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_MAILBOX -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/mailbox/tegra-hsp.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/io.h>
drivers/mailbox/zynqmp-ipi.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2018-2019 Xilinx, Inc. */ -#include <common.h> #include <log.h> #include <asm/io.h> #include <asm/system.h>
Signature · 1 line
2.34.1
PATCH 40/81 memory: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Christophe Kerello <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Igor Prusov <[email protected]>
Cc: Dario Binacchi <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Nishanth Menon <[email protected]>
--- drivers/memory/stm32-fmc2-ebi.c | 1 - drivers/memory/ti-aemif.c | 1 - drivers/memory/ti-gpmc.c | 1 - 3 files changed, 3 deletions(-)
drivers/memory/stm32-fmc2-ebi.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_NOP -#include <common.h> #include <clk.h> #include <dm.h> #include <reset.h>
drivers/memory/ti-aemif.c +0 -1
@@ -6,7 +6,6 @@* Texas Instruments Incorporated, <www.ti.com> */ -#include <common.h> #include <asm/arch/hardware.h> #include <asm/ti-common/ti-aemif.h>
drivers/memory/ti-gpmc.c +0 -1
@@ -7,7 +7,6 @@#include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/device_compat.h>
Signature · 1 line
2.34.1
PATCH 41/81 misc: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: "Michał Barnaś" <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: "Milan P. Stanić" <[email protected]>
Cc: Neha Malcom Francis <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Michel Alex <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Igor Opaniuk <[email protected]>
Cc: Clement Faure <[email protected]>
Cc: Mathieu Othacehe <[email protected]>
Cc: Ye Li <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Tim Lunn <[email protected]>
Cc: "Marek Behún" <[email protected]>
Cc: Stefan Roese <[email protected]>
--- drivers/misc/altera_sysid.c | 1 - drivers/misc/atsha204a-i2c.c | 1 - drivers/misc/cbmem_console.c | 2 +- drivers/misc/cros_ec.c | 2 +- drivers/misc/cros_ec_i2c.c | 1 - drivers/misc/cros_ec_lpc.c | 2 +- drivers/misc/cros_ec_sandbox.c | 2 +- drivers/misc/cros_ec_spi.c | 2 +- drivers/misc/ds4510.c | 1 - drivers/misc/esm_pmic.c | 1 - drivers/misc/fs_loader.c | 1 - drivers/misc/fsl_devdis.c | 2 +- drivers/misc/fsl_ifc.c | 2 +- drivers/misc/fsl_iim.c | 1 - drivers/misc/fsl_portals.c | 2 +- drivers/misc/fsl_sec_mon.c | 2 +- drivers/misc/gdsys_ioep.c | 1 - drivers/misc/gdsys_rxaui_ctrl.c | 1 - drivers/misc/gdsys_soc.c | 1 - drivers/misc/gpio_led.c | 1 - drivers/misc/i2c_eeprom.c | 1 - drivers/misc/i2c_eeprom_emul.c | 1 - drivers/misc/ihs_fpga.c | 1 - drivers/misc/imx8/fuse.c | 1 - drivers/misc/imx8/scu.c | 1 - drivers/misc/imx8/scu_api.c | 1 - drivers/misc/imx_ele/ele_api.c | 1 - drivers/misc/imx_ele/ele_mu.c | 1 - drivers/misc/imx_ele/fuse.c | 1 - drivers/misc/irq-uclass.c | 1 - drivers/misc/irq_sandbox.c | 1 - drivers/misc/irq_sandbox_test.c | 1 - drivers/misc/jz4780_efuse.c | 1 - drivers/misc/k3_avs.c | 1 - drivers/misc/k3_esm.c | 1 - drivers/misc/ls2_sfp.c | 1 - drivers/misc/microchip_flexcom.c | 1 - drivers/misc/misc-uclass.c | 1 - drivers/misc/misc_sandbox.c | 1 - drivers/misc/mpc83xx_serdes.c | 1 - drivers/misc/mxc_ocotp.c | 1 - drivers/misc/mxs_ocotp.c | 1 - drivers/misc/npcm_host_intf.c | 1 - drivers/misc/npcm_otp.c | 1 - drivers/misc/nuvoton_nct6102d.c | 1 - drivers/misc/nvmem.c | 1 - drivers/misc/p2sb-uclass.c | 1 - drivers/misc/p2sb_emul.c | 1 - drivers/misc/p2sb_sandbox.c | 1 - drivers/misc/pca9551_led.c | 1 - drivers/misc/pwrseq-uclass.c | 1 - drivers/misc/qfw.c | 1 - drivers/misc/rockchip-efuse.c | 1 - drivers/misc/rockchip-otp.c | 1 - drivers/misc/sandbox_adder.c | 1 - drivers/misc/sifive-otp.c | 1 - drivers/misc/sl28cpld.c | 1 - drivers/misc/smsc_lpc47m.c | 1 - drivers/misc/smsc_sio1007.c | 1 - drivers/misc/spltest_sandbox.c | 1 - drivers/misc/status_led.c | 2 +- drivers/misc/stm32_rcc.c | 1 - drivers/misc/stm32mp_fuse.c | 1 - drivers/misc/swap_case.c | 1 - drivers/misc/syscon_sandbox.c | 1 - drivers/misc/tegra186_bpmp.c | 1 - drivers/misc/tegra_car.c | 1 - drivers/misc/test_drv.c | 1 - drivers/misc/turris_omnia_mcu.c | 1 - drivers/misc/usb251xb.c | 1 - drivers/misc/vexpress_config.c | 1 - drivers/misc/winbond_w83627.c | 1 - 72 files changed, 10 insertions(+), 72 deletions(-)
drivers/misc/altera_sysid.c +0 -1
@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <command.h> #include <dm.h> #include <errno.h>
drivers/misc/atsha204a-i2c.c +0 -1
@@ -10,7 +10,6 @@* published by the Free Software Foundation. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <errno.h>
drivers/misc/cbmem_console.c +1 -1
@@ -3,8 +3,8 @@* Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. */ -#include <common.h> #include <console.h> +#include <linux/string.h> #include <asm/cb_sysinfo.h> void cbmemc_putc (struct stdio_dev *dev,char data)
drivers/misc/cros_ec.c +1 -1
@@ -15,7 +15,6 @@#define LOG_CATEGORY UCLASS_CROS_EC -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h>
@@ -24,6 +23,7 @@#include <log.h> #include <malloc.h> #include <spi.h> +#include <time.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h>
drivers/misc/cros_ec_i2c.c +0 -1
@@ -12,7 +12,6 @@* KBC. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <cros_ec.h>
drivers/misc/cros_ec_lpc.c +1 -1
@@ -12,11 +12,11 @@* KBC. */ -#include <common.h> #include <dm.h> #include <command.h> #include <cros_ec.h> #include <log.h> +#include <time.h> #include <asm/io.h> #ifdef DEBUG_TRACE
drivers/misc/cros_ec_sandbox.c +1 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_CROS_EC -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <ec_commands.h>
@@ -17,6 +16,7 @@#include <os.h> #include <u-boot/sha256.h> #include <spi.h> +#include <time.h> #include <asm/malloc.h> #include <asm/state.h> #include <asm/sdl.h>
drivers/misc/cros_ec_spi.c +1 -1
@@ -12,12 +12,12 @@* KBC. */ -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <errno.h> #include <log.h> #include <spi.h> +#include <time.h> int cros_ec_spi_packet (struct udevice *udev,int out_bytes,int in_bytes) {
drivers/misc/ds4510.c +0 -1
@@ -8,7 +8,6 @@* and 4 programmable non-volatile GPIO pins. */ -#include <common.h> #include <i2c.h> #include <command.h> #include <linux/delay.h>
drivers/misc/esm_pmic.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <power/pmic.h>
drivers/misc/fs_loader.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_FS_FIRMWARE_LOADER -#include <common.h> #include <dm.h> #include <env.h> #include <errno.h>
drivers/misc/fsl_devdis.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2015 Freescale Semiconductor, Inc. * Author: Zhuoyu Zhang <[email protected]> */ -#include <common.h> +#include <config.h> #include <asm/io.h> #include <asm/arch-ls102xa/immap_ls102xa.h> #include <asm/arch-ls102xa/config.h>
drivers/misc/fsl_ifc.c +1 -1
@@ -4,7 +4,7 @@* Author: Dipen Dudhat <[email protected]> */ -#include <common.h> +#include <config.h> #include <fsl_ifc.h> #include <part.h>
drivers/misc/fsl_iim.c +0 -1
@@ -8,7 +8,6 @@* Martha Marx <[email protected]> */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h>
drivers/misc/fsl_portals.c +1 -1
@@ -4,7 +4,7 @@* Copyright 2017 NXP */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/libfdt.h> #include <fdt_support.h>
drivers/misc/fsl_sec_mon.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2015 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <fsl_sec_mon.h> #include <linux/delay.h>
drivers/misc/gdsys_ioep.c +0 -1
@@ -11,7 +11,6 @@* SPDX-License-Identifier: GPL-2.0+ */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h>
drivers/misc/gdsys_rxaui_ctrl.c +0 -1
@@ -7,7 +7,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <misc.h>
drivers/misc/gdsys_soc.c +0 -1
@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/lists.h>
drivers/misc/gpio_led.c +0 -1
@@ -5,7 +5,6 @@* Licensed under the GPL-2 or later. */ -#include <common.h> #include <status_led.h> #include <asm/gpio.h>
drivers/misc/i2c_eeprom.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C_EEPROM -#include <common.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/kernel.h>
drivers/misc/i2c_eeprom_emul.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/misc/ihs_fpga.c +0 -1
@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <log.h> #include <regmap.h>
drivers/misc/imx8/fuse.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2019 NXP */ -#include <common.h> #include <console.h> #include <errno.h> #include <fuse.h>
drivers/misc/imx8/scu.c +0 -1
@@ -5,7 +5,6 @@* Peng Fan <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h>
drivers/misc/imx8/scu_api.c +0 -1
@@ -5,7 +5,6 @@* Peng Fan <[email protected]> */ -#include <common.h> #include <hang.h> #include <malloc.h> #include <asm/global_data.h>
drivers/misc/imx_ele/ele_api.c +0 -1
@@ -4,7 +4,6 @@* */ -#include <common.h> #include <hang.h> #include <malloc.h> #include <asm/io.h>
drivers/misc/imx_ele/ele_mu.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2020-2022 NXP */ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <dm/lists.h>
drivers/misc/imx_ele/fuse.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2020 NXP */ -#include <common.h> #include <console.h> #include <errno.h> #include <fuse.h>
drivers/misc/irq-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_IRQ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <irq.h>
drivers/misc/irq_sandbox.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <irq.h> #include <acpi/acpi_device.h>
drivers/misc/irq_sandbox_test.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2021 Google LLC */ -#include <common.h> #include <dm.h> #include <irq.h> #include <asm/irq.h>
drivers/misc/jz4780_efuse.c +0 -1
@@ -6,7 +6,6 @@* Author: Alex Smith <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/unaligned.h> #include <errno.h>
drivers/misc/k3_avs.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/io.h>
drivers/misc/k3_esm.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/io.h>
drivers/misc/ls2_sfp.c +0 -1
@@ -12,7 +12,6 @@*/ #define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <clk.h> #include <fuse.h> #include <misc.h>
drivers/misc/microchip_flexcom.c +0 -1
@@ -4,7 +4,6 @@* Author: Eugen Hristev <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/misc/misc-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <dm.h> #include <errno.h> #include <misc.h>
drivers/misc/misc_sandbox.c +0 -1
@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <misc.h>
drivers/misc/mpc83xx_serdes.c +0 -1
@@ -9,7 +9,6 @@* Copyright (C) 2008 MontaVista Software, Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mapmem.h>
drivers/misc/mxc_ocotp.c +0 -1
@@ -11,7 +11,6 @@* Copyright (C) 2011 Freescale Semiconductor, Inc. */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h>
drivers/misc/mxs_ocotp.c +0 -1
@@ -11,7 +11,6 @@* etc.) which would make common driver an ifdef nightmare :-( */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h>
drivers/misc/npcm_host_intf.c +0 -1
@@ -4,7 +4,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <syscon.h>
drivers/misc/npcm_otp.c +0 -1
@@ -4,7 +4,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <fuse.h>
drivers/misc/nuvoton_nct6102d.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <nuvoton_nct6102d.h> #include <asm/io.h> #include <asm/pnp_def.h>
drivers/misc/nvmem.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2022 Sean Anderson <[email protected]> */ -#include <common.h> #include <i2c_eeprom.h> #include <linker_lists.h> #include <misc.h>
drivers/misc/p2sb-uclass.c +0 -1
@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_P2SB -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/misc/p2sb_emul.c +0 -1
@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <axi.h> #include <dm.h> #include <log.h>
drivers/misc/p2sb_sandbox.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_P2SB -#include <common.h> #include <dm.h> #include <asm/io.h> #include <p2sb.h>
drivers/misc/pca9551_led.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015 Stefan Roese <[email protected]> */ -#include <common.h> #include <errno.h> #include <i2c.h> #include <status_led.h>
drivers/misc/pwrseq-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_PWRSEQ -#include <common.h> #include <dm.h> #include <pwrseq.h>
drivers/misc/qfw.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_QFW -#include <common.h> #include <acpi/acpi_table.h> #include <bootdev.h> #include <bootflow.h>
drivers/misc/rockchip-efuse.c +0 -1
@@ -6,7 +6,6 @@* Written by Philipp Tomsich <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <command.h> #include <display_options.h>
drivers/misc/rockchip-otp.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd */ -#include <common.h> #include <asm/io.h> #include <command.h> #include <display_options.h>
drivers/misc/sandbox_adder.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <axi.h> #include <dm.h> #include <misc.h>
drivers/misc/sifive-otp.c +0 -1
@@ -17,7 +17,6 @@* Right now first 1KiB is used to store only serial number. */ -#include <common.h> #include <dm/device.h> #include <dm/read.h> #include <linux/bitops.h>
drivers/misc/sl28cpld.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2021 Michael Walle <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2c.h>
drivers/misc/smsc_lpc47m.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2014, Bin Meng <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/pnp_def.h>
drivers/misc/smsc_sio1007.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <errno.h> #include <smsc_sio1007.h>
drivers/misc/spltest_sandbox.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <dt-structs.h>
drivers/misc/status_led.c +1 -1
@@ -4,8 +4,8 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <status_led.h> +#include <linux/types.h> /* * The purpose of this code is to signal the operational status of a
drivers/misc/stm32_rcc.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_NOP -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h>
drivers/misc/stm32mp_fuse.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <command.h> #include <fuse.h> #include <misc.h>
drivers/misc/swap_case.c +0 -1
@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/misc/syscon_sandbox.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <syscon.h>
drivers/misc/tegra186_bpmp.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/misc/tegra_car.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/lists.h>
drivers/misc/test_drv.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <asm/global_data.h>
drivers/misc/turris_omnia_mcu.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2024 Marek Behún <[email protected]> */ -#include <common.h> #include <console.h> #include <dm.h> #include <dm/lists.h>
drivers/misc/usb251xb.c +0 -1
@@ -10,7 +10,6 @@* https://patchwork.kernel.org/patch/9257715/ */ -#include <common.h> #include <asm/gpio.h> #include <dm.h> #include <dm/device_compat.h>
drivers/misc/vexpress_config.c +0 -1
@@ -4,7 +4,6 @@* Author: Liviu Dudau <[email protected]> * */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <dm/read.h>
drivers/misc/winbond_w83627.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/pnp_def.h>
Signature · 1 line
2.34.1
Re: [PATCH 41/81] misc: Remove <common.h> and add needed includes
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 1,008 lines
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: "Michał Barnaś" <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: "Milan P. Stanić" <[email protected]>
Cc: Neha Malcom Francis <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Michel Alex <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Igor Opaniuk <[email protected]>
Cc: Clement Faure <[email protected]>
Cc: Mathieu Othacehe <[email protected]>
Cc: Ye Li <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Tim Lunn <[email protected]>
Cc: "Marek Behún" <[email protected]>
Cc: Stefan Roese <[email protected]>--- drivers/misc/altera_sysid.c | 1 - drivers/misc/atsha204a-i2c.c | 1 - drivers/misc/cbmem_console.c | 2 +- drivers/misc/cros_ec.c | 2 +- drivers/misc/cros_ec_i2c.c | 1 - drivers/misc/cros_ec_lpc.c | 2 +- drivers/misc/cros_ec_sandbox.c | 2 +- drivers/misc/cros_ec_spi.c | 2 +- drivers/misc/ds4510.c | 1 - drivers/misc/esm_pmic.c | 1 - drivers/misc/fs_loader.c | 1 - drivers/misc/fsl_devdis.c | 2 +- drivers/misc/fsl_ifc.c | 2 +- drivers/misc/fsl_iim.c | 1 - drivers/misc/fsl_portals.c | 2 +- drivers/misc/fsl_sec_mon.c | 2 +- drivers/misc/gdsys_ioep.c | 1 - drivers/misc/gdsys_rxaui_ctrl.c | 1 - drivers/misc/gdsys_soc.c | 1 - drivers/misc/gpio_led.c | 1 - drivers/misc/i2c_eeprom.c | 1 - drivers/misc/i2c_eeprom_emul.c | 1 - drivers/misc/ihs_fpga.c | 1 - drivers/misc/imx8/fuse.c | 1 - drivers/misc/imx8/scu.c | 1 - drivers/misc/imx8/scu_api.c | 1 - drivers/misc/imx_ele/ele_api.c | 1 - drivers/misc/imx_ele/ele_mu.c | 1 - drivers/misc/imx_ele/fuse.c | 1 - drivers/misc/irq-uclass.c | 1 - drivers/misc/irq_sandbox.c | 1 - drivers/misc/irq_sandbox_test.c | 1 - drivers/misc/jz4780_efuse.c | 1 - drivers/misc/k3_avs.c | 1 - drivers/misc/k3_esm.c | 1 - drivers/misc/ls2_sfp.c | 1 - drivers/misc/microchip_flexcom.c | 1 - drivers/misc/misc-uclass.c | 1 - drivers/misc/misc_sandbox.c | 1 - drivers/misc/mpc83xx_serdes.c | 1 - drivers/misc/mxc_ocotp.c | 1 - drivers/misc/mxs_ocotp.c | 1 - drivers/misc/npcm_host_intf.c | 1 - drivers/misc/npcm_otp.c | 1 - drivers/misc/nuvoton_nct6102d.c | 1 - drivers/misc/nvmem.c | 1 - drivers/misc/p2sb-uclass.c | 1 - drivers/misc/p2sb_emul.c | 1 - drivers/misc/p2sb_sandbox.c | 1 - drivers/misc/pca9551_led.c | 1 - drivers/misc/pwrseq-uclass.c | 1 - drivers/misc/qfw.c | 1 - drivers/misc/rockchip-efuse.c | 1 - drivers/misc/rockchip-otp.c | 1 - drivers/misc/sandbox_adder.c | 1 - drivers/misc/sifive-otp.c | 1 - drivers/misc/sl28cpld.c | 1 - drivers/misc/smsc_lpc47m.c | 1 - drivers/misc/smsc_sio1007.c | 1 - drivers/misc/spltest_sandbox.c | 1 - drivers/misc/status_led.c | 2 +- drivers/misc/stm32_rcc.c | 1 - drivers/misc/stm32mp_fuse.c | 1 - drivers/misc/swap_case.c | 1 - drivers/misc/syscon_sandbox.c | 1 - drivers/misc/tegra186_bpmp.c | 1 - drivers/misc/tegra_car.c | 1 - drivers/misc/test_drv.c | 1 - drivers/misc/turris_omnia_mcu.c | 1 - drivers/misc/usb251xb.c | 1 - drivers/misc/vexpress_config.c | 1 - drivers/misc/winbond_w83627.c | 1 - 72 files changed, 10 insertions(+), 72 deletions(-)drivers/misc/altera_sysid.c +0
-1@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <command.h> #include <dm.h> #include <errno.h> drivers/misc/atsha204a-i2c.c +0
-1@@ -10,7 +10,6 @@* published by the Free Software Foundation. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <errno.h> drivers/misc/cbmem_console.c +1
-1@@ -3,8 +3,8 @@* Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. */ -#include <common.h> #include <console.h> +#include <linux/string.h> #include <asm/cb_sysinfo.h> void cbmemc_putc (struct stdio_dev *dev,char data)drivers/misc/cros_ec.c +1
-1@@ -15,7 +15,6 @@#define LOG_CATEGORY UCLASS_CROS_EC -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h> @@ -24,6 +23,7 @@#include <log.h> #include <malloc.h> #include <spi.h> +#include <time.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> drivers/misc/cros_ec_i2c.c +0
-1@@ -12,7 +12,6 @@* KBC. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <cros_ec.h> drivers/misc/cros_ec_lpc.c +1
-1@@ -12,11 +12,11 @@* KBC. */ -#include <common.h> #include <dm.h> #include <command.h> #include <cros_ec.h> #include <log.h> +#include <time.h> #include <asm/io.h> #ifdef DEBUG_TRACE drivers/misc/cros_ec_sandbox.c +1
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_CROS_EC -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <ec_commands.h> @@ -17,6 +16,7 @@#include <os.h> #include <u-boot/sha256.h> #include <spi.h> +#include <time.h> #include <asm/malloc.h> #include <asm/state.h> #include <asm/sdl.h> drivers/misc/cros_ec_spi.c +1
-1@@ -12,12 +12,12 @@* KBC. */ -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <errno.h> #include <log.h> #include <spi.h> +#include <time.h> int cros_ec_spi_packet (struct udevice *udev,int out_bytes,int in_bytes) {drivers/misc/ds4510.c +0
-1@@ -8,7 +8,6 @@* and 4 programmable non-volatile GPIO pins. */ -#include <common.h> #include <i2c.h> #include <command.h> #include <linux/delay.h> drivers/misc/esm_pmic.c +0
-1@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <power/pmic.h> drivers/misc/fs_loader.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_FS_FIRMWARE_LOADER -#include <common.h> #include <dm.h> #include <env.h> #include <errno.h> drivers/misc/fsl_devdis.c +1
-1@@ -3,7 +3,7 @@* Copyright 2015 Freescale Semiconductor, Inc. * Author: Zhuoyu Zhang <[email protected]> */ -#include <common.h> +#include <config.h> #include <asm/io.h> #include <asm/arch-ls102xa/immap_ls102xa.h> #include <asm/arch-ls102xa/config.h> drivers/misc/fsl_ifc.c +1
-1@@ -4,7 +4,7 @@* Author: Dipen Dudhat <[email protected]> */ -#include <common.h> +#include <config.h> #include <fsl_ifc.h> #include <part.h> drivers/misc/fsl_iim.c +0
-1@@ -8,7 +8,6 @@* Martha Marx <[email protected]> */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h> drivers/misc/fsl_portals.c +1
-1@@ -4,7 +4,7 @@* Copyright 2017 NXP */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/libfdt.h> #include <fdt_support.h> drivers/misc/fsl_sec_mon.c +1
-1@@ -3,7 +3,7 @@* Copyright 2015 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <fsl_sec_mon.h> #include <linux/delay.h> drivers/misc/gdsys_ioep.c +0
-1@@ -11,7 +11,6 @@* SPDX-License-Identifier: GPL-2.0+ */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> drivers/misc/gdsys_rxaui_ctrl.c +0
-1@@ -7,7 +7,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <misc.h> drivers/misc/gdsys_soc.c +0
-1@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/lists.h> drivers/misc/gpio_led.c +0
-1@@ -5,7 +5,6 @@* Licensed under the GPL-2 or later. */ -#include <common.h> #include <status_led.h> #include <asm/gpio.h> drivers/misc/i2c_eeprom.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_I2C_EEPROM -#include <common.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/kernel.h> drivers/misc/i2c_eeprom_emul.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/misc/ihs_fpga.c +0
-1@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <log.h> #include <regmap.h> drivers/misc/imx8/fuse.c +0
-1@@ -3,7 +3,6 @@* Copyright 2019 NXP */ -#include <common.h> #include <console.h> #include <errno.h> #include <fuse.h> drivers/misc/imx8/scu.c +0
-1@@ -5,7 +5,6 @@* Peng Fan <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h> drivers/misc/imx8/scu_api.c +0
-1@@ -5,7 +5,6 @@* Peng Fan <[email protected]> */ -#include <common.h> #include <hang.h> #include <malloc.h> #include <asm/global_data.h> drivers/misc/imx_ele/ele_api.c +0
-1@@ -4,7 +4,6 @@* */ -#include <common.h> #include <hang.h> #include <malloc.h> #include <asm/io.h> drivers/misc/imx_ele/ele_mu.c +0
-1@@ -3,7 +3,6 @@* Copyright 2020-2022 NXP */ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <dm/lists.h> drivers/misc/imx_ele/fuse.c +0
-1@@ -3,7 +3,6 @@* Copyright 2020 NXP */ -#include <common.h> #include <console.h> #include <errno.h> #include <fuse.h> drivers/misc/irq-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_IRQ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <irq.h> drivers/misc/irq_sandbox.c +0
-1@@ -5,7 +5,6 @@* Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <irq.h> #include <acpi/acpi_device.h> drivers/misc/irq_sandbox_test.c +0
-1@@ -5,7 +5,6 @@* Copyright 2021 Google LLC */ -#include <common.h> #include <dm.h> #include <irq.h> #include <asm/irq.h> drivers/misc/jz4780_efuse.c +0
-1@@ -6,7 +6,6 @@* Author: Alex Smith <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/unaligned.h> #include <errno.h> drivers/misc/k3_avs.c +0
-1@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/io.h> drivers/misc/k3_esm.c +0
-1@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/io.h> drivers/misc/ls2_sfp.c +0
-1@@ -12,7 +12,6 @@*/ #define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <clk.h> #include <fuse.h> #include <misc.h> drivers/misc/microchip_flexcom.c +0
-1@@ -4,7 +4,6 @@* Author: Eugen Hristev <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/misc/misc-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <dm.h> #include <errno.h> #include <misc.h> drivers/misc/misc_sandbox.c +0
-1@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <misc.h> drivers/misc/mpc83xx_serdes.c +0
-1@@ -9,7 +9,6 @@* Copyright (C) 2008 MontaVista Software, Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mapmem.h> drivers/misc/mxc_ocotp.c +0
-1@@ -11,7 +11,6 @@* Copyright (C) 2011 Freescale Semiconductor, Inc. */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h> drivers/misc/mxs_ocotp.c +0
-1@@ -11,7 +11,6 @@* etc.) which would make common driver an ifdef nightmare :-( */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h> drivers/misc/npcm_host_intf.c +0
-1@@ -4,7 +4,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <syscon.h> drivers/misc/npcm_otp.c +0
-1@@ -4,7 +4,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <fuse.h> drivers/misc/nuvoton_nct6102d.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <nuvoton_nct6102d.h> #include <asm/io.h> #include <asm/pnp_def.h> drivers/misc/nvmem.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Sean Anderson <[email protected]> */ -#include <common.h> #include <i2c_eeprom.h> #include <linker_lists.h> #include <misc.h> drivers/misc/p2sb-uclass.c +0
-1@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_P2SB -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/misc/p2sb_emul.c +0
-1@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <axi.h> #include <dm.h> #include <log.h> drivers/misc/p2sb_sandbox.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_P2SB -#include <common.h> #include <dm.h> #include <asm/io.h> #include <p2sb.h> drivers/misc/pca9551_led.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2015 Stefan Roese <[email protected]> */ -#include <common.h> #include <errno.h> #include <i2c.h> #include <status_led.h> drivers/misc/pwrseq-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_PWRSEQ -#include <common.h> #include <dm.h> #include <pwrseq.h> drivers/misc/qfw.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_QFW -#include <common.h> #include <acpi/acpi_table.h> #include <bootdev.h> #include <bootflow.h> drivers/misc/rockchip-efuse.c +0
-1@@ -6,7 +6,6 @@* Written by Philipp Tomsich <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <command.h> #include <display_options.h> drivers/misc/rockchip-otp.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd */ -#include <common.h> #include <asm/io.h> #include <command.h> #include <display_options.h> drivers/misc/sandbox_adder.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <axi.h> #include <dm.h> #include <misc.h> drivers/misc/sifive-otp.c +0
-1@@ -17,7 +17,6 @@* Right now first 1KiB is used to store only serial number. */ -#include <common.h> #include <dm/device.h> #include <dm/read.h> #include <linux/bitops.h> drivers/misc/sl28cpld.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2021 Michael Walle <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2c.h> drivers/misc/smsc_lpc47m.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2014, Bin Meng <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/pnp_def.h> drivers/misc/smsc_sio1007.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <errno.h> #include <smsc_sio1007.h> drivers/misc/spltest_sandbox.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <dt-structs.h> drivers/misc/status_led.c +1
-1@@ -4,8 +4,8 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <status_led.h> +#include <linux/types.h> /* * The purpose of this code is to signal the operational status of a drivers/misc/stm32_rcc.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_NOP -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> drivers/misc/stm32mp_fuse.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <command.h> #include <fuse.h> #include <misc.h> drivers/misc/swap_case.c +0
-1@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/misc/syscon_sandbox.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <syscon.h> drivers/misc/tegra186_bpmp.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/misc/tegra_car.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/lists.h> drivers/misc/test_drv.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <asm/global_data.h> drivers/misc/turris_omnia_mcu.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2024 Marek Behún <[email protected]> */ -#include <common.h> #include <console.h> #include <dm.h> #include <dm/lists.h> drivers/misc/usb251xb.c +0
-1@@ -10,7 +10,6 @@* https://patchwork.kernel.org/patch/9257715/ */ -#include <common.h> #include <asm/gpio.h> #include <dm.h> #include <dm/device_compat.h> drivers/misc/vexpress_config.c +0
-1@@ -4,7 +4,6 @@* Author: Liviu Dudau <[email protected]> * */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <dm/read.h> drivers/misc/winbond_w83627.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/pnp_def.h>
PATCH 42/81 mmc: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Thomas Fitzsimmons <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Masahisa Kojima <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Tianrui Wei <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Michal Simek <[email protected]>
--- drivers/mmc/am654_sdhci.c | 1 - drivers/mmc/arm_pl180_mmci.c | 1 - drivers/mmc/aspeed_sdhci.c | 1 - drivers/mmc/atmel_sdhci.c | 1 - drivers/mmc/bcm2835_sdhci.c | 1 - drivers/mmc/bcm2835_sdhost.c | 1 - drivers/mmc/bcmstb_sdhci.c | 1 - drivers/mmc/ca_dw_mmc.c | 1 - drivers/mmc/davinci_mmc.c | 1 - drivers/mmc/dw_mmc.c | 1 - drivers/mmc/exynos_dw_mmc.c | 1 - drivers/mmc/f_sdh30.c | 1 - drivers/mmc/fsl_esdhc.c | 1 - drivers/mmc/fsl_esdhc_imx.c | 1 - drivers/mmc/fsl_esdhc_spl.c | 2 +- drivers/mmc/ftsdc010_mci.c | 1 - drivers/mmc/gen_atmel_mci.c | 2 +- drivers/mmc/hi6220_dw_mmc.c | 1 - drivers/mmc/iproc_sdhci.c | 1 - drivers/mmc/jz_mmc.c | 1 - drivers/mmc/kona_sdhci.c | 1 - drivers/mmc/meson_gx_mmc.c | 1 - drivers/mmc/mmc-pwrseq.c | 1 - drivers/mmc/mmc-uclass.c | 1 - drivers/mmc/mmc.c | 3 ++- drivers/mmc/mmc_boot.c | 1 - drivers/mmc/mmc_bootdev.c | 1 - drivers/mmc/mmc_legacy.c | 1 - drivers/mmc/mmc_spi.c | 1 - drivers/mmc/mmc_write.c | 1 - drivers/mmc/msm_sdhci.c | 1 - drivers/mmc/mtk-sd.c | 1 - drivers/mmc/mv_sdhci.c | 1 - drivers/mmc/mvebu_mmc.c | 1 - drivers/mmc/mxcmmc.c | 1 - drivers/mmc/mxsmmc.c | 1 - drivers/mmc/nexell_dw_mmc.c | 1 - drivers/mmc/npcm_sdhci.c | 1 - drivers/mmc/omap_hsmmc.c | 1 - drivers/mmc/owl_mmc.c | 1 - drivers/mmc/pci_mmc.c | 1 - drivers/mmc/piton_mmc.c | 1 - drivers/mmc/rockchip_dw_mmc.c | 1 - drivers/mmc/rockchip_sdhci.c | 1 - drivers/mmc/rpmb.c | 1 - drivers/mmc/s5p_sdhci.c | 1 - drivers/mmc/sandbox_mmc.c | 1 - drivers/mmc/sdhci-adma.c | 1 - drivers/mmc/sdhci-cadence.c | 1 - drivers/mmc/sdhci.c | 2 +- drivers/mmc/sh_mmcif.c | 1 - drivers/mmc/snps_dw_mmc.c | 1 - drivers/mmc/socfpga_dw_mmc.c | 1 - drivers/mmc/sti_sdhci.c | 1 - drivers/mmc/stm32_sdmmc2.c | 1 - drivers/mmc/sunxi_mmc.c | 1 - drivers/mmc/tangier_sdhci.c | 1 - drivers/mmc/tegra_mmc.c | 1 - drivers/mmc/tmio-common.c | 1 - drivers/mmc/uniphier-sd.c | 1 - drivers/mmc/xenon_sdhci.c | 1 - drivers/mmc/zynq_sdhci.c | 1 - 62 files changed, 5 insertions(+), 62 deletions(-)
drivers/mmc/am654_sdhci.c +0 -1
@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <malloc.h> #include <mmc.h>
drivers/mmc/arm_pl180_mmci.c +0 -1
@@ -11,7 +11,6 @@/* #define DEBUG */ -#include "common.h" #include <clk.h> #include <errno.h> #include <log.h>
drivers/mmc/aspeed_sdhci.c +0 -1
@@ -4,7 +4,6 @@* Eddie James <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h>
drivers/mmc/atmel_sdhci.c +0 -1
@@ -4,7 +4,6 @@* Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h>
drivers/mmc/bcm2835_sdhci.c +0 -1
@@ -36,7 +36,6 @@* Inspired by sdhci-pci.c, by Pierre Ossman */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/mmc/bcm2835_sdhost.c +0 -1
@@ -30,7 +30,6 @@* sdhci.c and sdhci-pci.c by Pierre Ossman */ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <asm/arch/msg.h>
drivers/mmc/bcmstb_sdhci.c +0 -1
@@ -6,7 +6,6 @@* Author: Thomas Fitzsimmons <[email protected]> */ -#include <common.h> #include <dm.h> #include <mach/sdhci.h> #include <malloc.h>
drivers/mmc/ca_dw_mmc.c +0 -1
@@ -4,7 +4,6 @@* Arthur Li <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h>
drivers/mmc/davinci_mmc.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <mmc.h>
drivers/mmc/dw_mmc.c +0 -1
@@ -6,7 +6,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <cpu_func.h> #include <errno.h> #include <log.h>
drivers/mmc/exynos_dw_mmc.c +0 -1
@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h>
drivers/mmc/f_sdh30.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2021 Socionext, Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h>
drivers/mmc/fsl_esdhc.c +0 -1
@@ -10,7 +10,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <cpu_func.h> #include <errno.h>
drivers/mmc/fsl_esdhc_imx.c +0 -1
@@ -11,7 +11,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <clk.h> #include <cpu_func.h>
drivers/mmc/fsl_esdhc_spl.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <hang.h> #include <mmc.h>
drivers/mmc/ftsdc010_mci.c +0 -1
@@ -9,7 +9,6 @@* Author: Rick Chen ([email protected]) */ -#include <common.h> #include <clk.h> #include <log.h> #include <malloc.h>
drivers/mmc/gen_atmel_mci.c +1 -1
@@ -8,7 +8,7 @@* Copyright (C) 2004-2006 Atmel Corporation */ -#include <common.h> +#include <config.h> #include <clk.h> #include <display_options.h> #include <dm.h>
drivers/mmc/hi6220_dw_mmc.c +0 -1
@@ -4,7 +4,6 @@* peter.griffin <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h>
drivers/mmc/iproc_sdhci.c +0 -1
@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h>
drivers/mmc/jz_mmc.c +0 -1
@@ -6,7 +6,6 @@* Author: Paul Burton <[email protected]> */ -#include <common.h> #include <malloc.h> #include <mmc.h> #include <asm/global_data.h>
drivers/mmc/kona_sdhci.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2013 Broadcom Corporation. */ -#include <common.h> #include <malloc.h> #include <sdhci.h> #include <linux/delay.h>
drivers/mmc/meson_gx_mmc.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2016 Carlo Caione <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/mmc/mmc-pwrseq.c +0 -1
@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <mmc.h> #include <pwrseq.h>
drivers/mmc/mmc-uclass.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <bootdev.h> #include <log.h> #include <mmc.h>
drivers/mmc/mmc.c +2 -1
@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <command.h> #include <dm.h>
@@ -17,6 +16,7 @@#include <errno.h> #include <mmc.h> #include <part.h> +#include <time.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/printk.h>
@@ -24,6 +24,7 @@#include <malloc.h> #include <memalign.h> #include <linux/list.h> +#include <linux/printk.h> #include <div64.h> #include "mmc_private.h"
drivers/mmc/mmc_boot.c +0 -1
@@ -4,7 +4,6 @@* Written by Amar <[email protected]> */ -#include <common.h> #include <log.h> #include <mmc.h> #include "mmc_private.h"
drivers/mmc/mmc_bootdev.c +0 -1
@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <bootdev.h> #include <dm.h> #include <mmc.h>
drivers/mmc/mmc_legacy.c +0 -1
@@ -5,7 +5,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h>
drivers/mmc/mmc_spi.c +0 -1
@@ -6,7 +6,6 @@* * Licensed under the GPL-2 or later. */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h>
drivers/mmc/mmc_write.c +0 -1
@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <dm.h> #include <part.h>
drivers/mmc/msm_sdhci.c +0 -1
@@ -7,7 +7,6 @@* Based on Linux driver */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h>
drivers/mmc/mtk-sd.c +0 -1
@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <errno.h>
drivers/mmc/mv_sdhci.c +0 -1
@@ -3,7 +3,6 @@* Marvell SD Host Controller Interface */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <sdhci.h>
drivers/mmc/mvebu_mmc.c +0 -1
@@ -7,7 +7,6 @@* Written-by: Maen Suleiman, Gerald Kerma */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h>
drivers/mmc/mxcmmc.c +0 -1
@@ -17,7 +17,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <mmc.h> #include <part.h>
drivers/mmc/mxsmmc.c +0 -1
@@ -20,7 +20,6 @@* Kyle Harris, Nexus Technologies, Inc. [email protected] */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h>
drivers/mmc/nexell_dw_mmc.c +0 -1
@@ -6,7 +6,6 @@* (C) Copyright 2019 Stefan Bosch <[email protected]> */ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <dwmmc.h>
drivers/mmc/npcm_sdhci.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <sdhci.h> #include <clk.h>
drivers/mmc/omap_hsmmc.c +0 -1
@@ -23,7 +23,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h>
drivers/mmc/owl_mmc.c +0 -1
@@ -11,7 +11,6 @@* channel, and those special bits used in this driver is picked from vendor * source exclusively for MMC/SD. */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/mmc/pci_mmc.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2014, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/mmc/piton_mmc.c +0 -1
@@ -11,7 +11,6 @@#include <asm/gpio.h> #include <asm/io.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <errno.h>
drivers/mmc/rockchip_dw_mmc.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dt-structs.h>
drivers/mmc/rockchip_sdhci.c +0 -1
@@ -5,7 +5,6 @@* Rockchip SD Host Controller Interface */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/ofnode.h>
drivers/mmc/rpmb.c +0 -1
@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <memalign.h> #include <mmc.h>
drivers/mmc/s5p_sdhci.c +0 -1
@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/mmc/sandbox_mmc.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/mmc/sdhci-adma.c +0 -1
@@ -3,7 +3,6 @@* SDHCI ADMA2 helper functions. */ -#include <common.h> #include <cpu_func.h> #include <sdhci.h> #include <malloc.h>
drivers/mmc/sdhci-cadence.c +0 -1
@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <dm/device_compat.h>
drivers/mmc/sdhci.c +1 -1
@@ -7,7 +7,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h>
@@ -15,6 +14,7 @@#include <malloc.h> #include <mmc.h> #include <sdhci.h> +#include <time.h> #include <asm/cache.h> #include <linux/bitops.h> #include <linux/delay.h>
drivers/mmc/sh_mmcif.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <watchdog.h> #include <command.h>
drivers/mmc/snps_dw_mmc.c +0 -1
@@ -7,7 +7,6 @@* Author: Eugeniy Paltsev <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h>
drivers/mmc/socfpga_dw_mmc.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2013 Altera Corporation <www.altera.com> */ -#include <common.h> #include <log.h> #include <asm/arch/clock_manager.h> #include <asm/arch/secure_reg_helper.h>
drivers/mmc/sti_sdhci.c +0 -1
@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mmc.h>
drivers/mmc/stm32_sdmmc2.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/mmc/sunxi_mmc.c +0 -1
@@ -13,7 +13,6 @@* proper DM_MMC implementation at the end. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/mmc/tangier_sdhci.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <dm/device.h> #include <linux/io.h>
drivers/mmc/tegra_mmc.c +0 -1
@@ -7,7 +7,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/mmc/tmio-common.c +0 -1
@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <fdtdec.h>
drivers/mmc/uniphier-sd.c +0 -1
@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <fdtdec.h> #include <malloc.h>
drivers/mmc/xenon_sdhci.c +0 -1
@@ -14,7 +14,6 @@* Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <asm/global_data.h>
drivers/mmc/zynq_sdhci.c +0 -1
@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <linux/delay.h>
Signature · 1 line
2.34.1
Re: [PATCH 42/81] mmc: Remove <common.h> and add needed includes
Quoted 5 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Looks good.
Quoted 873 lines
---
Cc: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Thomas Fitzsimmons <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Masahisa Kojima <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Tianrui Wei <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Michal Simek <[email protected]>--- drivers/mmc/am654_sdhci.c | 1 - drivers/mmc/arm_pl180_mmci.c | 1 - drivers/mmc/aspeed_sdhci.c | 1 - drivers/mmc/atmel_sdhci.c | 1 - drivers/mmc/bcm2835_sdhci.c | 1 - drivers/mmc/bcm2835_sdhost.c | 1 - drivers/mmc/bcmstb_sdhci.c | 1 - drivers/mmc/ca_dw_mmc.c | 1 - drivers/mmc/davinci_mmc.c | 1 - drivers/mmc/dw_mmc.c | 1 - drivers/mmc/exynos_dw_mmc.c | 1 - drivers/mmc/f_sdh30.c | 1 - drivers/mmc/fsl_esdhc.c | 1 - drivers/mmc/fsl_esdhc_imx.c | 1 - drivers/mmc/fsl_esdhc_spl.c | 2 +- drivers/mmc/ftsdc010_mci.c | 1 - drivers/mmc/gen_atmel_mci.c | 2 +- drivers/mmc/hi6220_dw_mmc.c | 1 - drivers/mmc/iproc_sdhci.c | 1 - drivers/mmc/jz_mmc.c | 1 - drivers/mmc/kona_sdhci.c | 1 - drivers/mmc/meson_gx_mmc.c | 1 - drivers/mmc/mmc-pwrseq.c | 1 - drivers/mmc/mmc-uclass.c | 1 - drivers/mmc/mmc.c | 3 ++- drivers/mmc/mmc_boot.c | 1 - drivers/mmc/mmc_bootdev.c | 1 - drivers/mmc/mmc_legacy.c | 1 - drivers/mmc/mmc_spi.c | 1 - drivers/mmc/mmc_write.c | 1 - drivers/mmc/msm_sdhci.c | 1 - drivers/mmc/mtk-sd.c | 1 - drivers/mmc/mv_sdhci.c | 1 - drivers/mmc/mvebu_mmc.c | 1 - drivers/mmc/mxcmmc.c | 1 - drivers/mmc/mxsmmc.c | 1 - drivers/mmc/nexell_dw_mmc.c | 1 - drivers/mmc/npcm_sdhci.c | 1 - drivers/mmc/omap_hsmmc.c | 1 - drivers/mmc/owl_mmc.c | 1 - drivers/mmc/pci_mmc.c | 1 - drivers/mmc/piton_mmc.c | 1 - drivers/mmc/rockchip_dw_mmc.c | 1 - drivers/mmc/rockchip_sdhci.c | 1 - drivers/mmc/rpmb.c | 1 - drivers/mmc/s5p_sdhci.c | 1 - drivers/mmc/sandbox_mmc.c | 1 - drivers/mmc/sdhci-adma.c | 1 - drivers/mmc/sdhci-cadence.c | 1 - drivers/mmc/sdhci.c | 2 +- drivers/mmc/sh_mmcif.c | 1 - drivers/mmc/snps_dw_mmc.c | 1 - drivers/mmc/socfpga_dw_mmc.c | 1 - drivers/mmc/sti_sdhci.c | 1 - drivers/mmc/stm32_sdmmc2.c | 1 - drivers/mmc/sunxi_mmc.c | 1 - drivers/mmc/tangier_sdhci.c | 1 - drivers/mmc/tegra_mmc.c | 1 - drivers/mmc/tmio-common.c | 1 - drivers/mmc/uniphier-sd.c | 1 - drivers/mmc/xenon_sdhci.c | 1 - drivers/mmc/zynq_sdhci.c | 1 - 62 files changed, 5 insertions(+), 62 deletions(-)drivers/mmc/am654_sdhci.c +0
-1@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <malloc.h> #include <mmc.h> drivers/mmc/arm_pl180_mmci.c +0
-1@@ -11,7 +11,6 @@/* #define DEBUG */ -#include "common.h" #include <clk.h> #include <errno.h> #include <log.h> drivers/mmc/aspeed_sdhci.c +0
-1@@ -4,7 +4,6 @@* Eddie James <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/atmel_sdhci.c +0
-1@@ -4,7 +4,6 @@* Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/bcm2835_sdhci.c +0
-1@@ -36,7 +36,6 @@* Inspired by sdhci-pci.c, by Pierre Ossman */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/mmc/bcm2835_sdhost.c +0
-1@@ -30,7 +30,6 @@* sdhci.c and sdhci-pci.c by Pierre Ossman */ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <asm/arch/msg.h> drivers/mmc/bcmstb_sdhci.c +0
-1@@ -6,7 +6,6 @@* Author: Thomas Fitzsimmons <[email protected]> */ -#include <common.h> #include <dm.h> #include <mach/sdhci.h> #include <malloc.h> drivers/mmc/ca_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* Arthur Li <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/davinci_mmc.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <mmc.h> drivers/mmc/dw_mmc.c +0
-1@@ -6,7 +6,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <cpu_func.h> #include <errno.h> #include <log.h> drivers/mmc/exynos_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/f_sdh30.c +0
-1@@ -5,7 +5,6 @@* Copyright 2021 Socionext, Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/fsl_esdhc.c +0
-1@@ -10,7 +10,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <cpu_func.h> #include <errno.h> drivers/mmc/fsl_esdhc_imx.c +0
-1@@ -11,7 +11,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <clk.h> #include <cpu_func.h> drivers/mmc/fsl_esdhc_spl.c +1
-1@@ -3,7 +3,7 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <hang.h> #include <mmc.h> drivers/mmc/ftsdc010_mci.c +0
-1@@ -9,7 +9,6 @@* Author: Rick Chen ([email protected]) */ -#include <common.h> #include <clk.h> #include <log.h> #include <malloc.h> drivers/mmc/gen_atmel_mci.c +1
-1@@ -8,7 +8,7 @@* Copyright (C) 2004-2006 Atmel Corporation */ -#include <common.h> +#include <config.h> #include <clk.h> #include <display_options.h> #include <dm.h> drivers/mmc/hi6220_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* peter.griffin <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h> drivers/mmc/iproc_sdhci.c +0
-1@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/mmc/jz_mmc.c +0
-1@@ -6,7 +6,6 @@* Author: Paul Burton <[email protected]> */ -#include <common.h> #include <malloc.h> #include <mmc.h> #include <asm/global_data.h> drivers/mmc/kona_sdhci.c +0
-1@@ -3,7 +3,6 @@* Copyright 2013 Broadcom Corporation. */ -#include <common.h> #include <malloc.h> #include <sdhci.h> #include <linux/delay.h> drivers/mmc/meson_gx_mmc.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2016 Carlo Caione <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/mmc-pwrseq.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <mmc.h> #include <pwrseq.h> drivers/mmc/mmc-uclass.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <bootdev.h> #include <log.h> #include <mmc.h> drivers/mmc/mmc.c +2
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <command.h> #include <dm.h> @@ -17,6 +16,7 @@#include <errno.h> #include <mmc.h> #include <part.h> +#include <time.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/printk.h> @@ -24,6 +24,7 @@#include <malloc.h> #include <memalign.h> #include <linux/list.h> +#include <linux/printk.h> #include <div64.h> #include "mmc_private.h" drivers/mmc/mmc_boot.c +0
-1@@ -4,7 +4,6 @@* Written by Amar <[email protected]> */ -#include <common.h> #include <log.h> #include <mmc.h> #include "mmc_private.h" drivers/mmc/mmc_bootdev.c +0
-1@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <bootdev.h> #include <dm.h> #include <mmc.h> drivers/mmc/mmc_legacy.c +0
-1@@ -5,7 +5,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h> drivers/mmc/mmc_spi.c +0
-1@@ -6,7 +6,6 @@* * Licensed under the GPL-2 or later. */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/mmc/mmc_write.c +0
-1@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <dm.h> #include <part.h> drivers/mmc/msm_sdhci.c +0
-1@@ -7,7 +7,6 @@* Based on Linux driver */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/mtk-sd.c +0
-1@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <errno.h> drivers/mmc/mv_sdhci.c +0
-1@@ -3,7 +3,6 @@* Marvell SD Host Controller Interface */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <sdhci.h> drivers/mmc/mvebu_mmc.c +0
-1@@ -7,7 +7,6 @@* Written-by: Maen Suleiman, Gerald Kerma */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/mmc/mxcmmc.c +0
-1@@ -17,7 +17,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <mmc.h> #include <part.h> drivers/mmc/mxsmmc.c +0
-1@@ -20,7 +20,6 @@* Kyle Harris, Nexus Technologies, Inc. [email protected] */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h> drivers/mmc/nexell_dw_mmc.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2019 Stefan Bosch <[email protected]> */ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <dwmmc.h> drivers/mmc/npcm_sdhci.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <sdhci.h> #include <clk.h> drivers/mmc/omap_hsmmc.c +0
-1@@ -23,7 +23,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> drivers/mmc/owl_mmc.c +0
-1@@ -11,7 +11,6 @@* channel, and those special bits used in this driver is picked from vendor * source exclusively for MMC/SD. */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/pci_mmc.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2014, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/piton_mmc.c +0
-1@@ -11,7 +11,6 @@#include <asm/gpio.h> #include <asm/io.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <errno.h> drivers/mmc/rockchip_dw_mmc.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/mmc/rockchip_sdhci.c +0
-1@@ -5,7 +5,6 @@* Rockchip SD Host Controller Interface */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/ofnode.h> drivers/mmc/rpmb.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <memalign.h> #include <mmc.h> drivers/mmc/s5p_sdhci.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/mmc/sandbox_mmc.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/mmc/sdhci-adma.c +0
-1@@ -3,7 +3,6 @@* SDHCI ADMA2 helper functions. */ -#include <common.h> #include <cpu_func.h> #include <sdhci.h> #include <malloc.h> drivers/mmc/sdhci-cadence.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <dm/device_compat.h> drivers/mmc/sdhci.c +1
-1@@ -7,7 +7,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h> @@ -15,6 +14,7 @@#include <malloc.h> #include <mmc.h> #include <sdhci.h> +#include <time.h> #include <asm/cache.h> #include <linux/bitops.h> #include <linux/delay.h> drivers/mmc/sh_mmcif.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <watchdog.h> #include <command.h> drivers/mmc/snps_dw_mmc.c +0
-1@@ -7,7 +7,6 @@* Author: Eugeniy Paltsev <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h> drivers/mmc/socfpga_dw_mmc.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2013 Altera Corporation <www.altera.com> */ -#include <common.h> #include <log.h> #include <asm/arch/clock_manager.h> #include <asm/arch/secure_reg_helper.h> drivers/mmc/sti_sdhci.c +0
-1@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mmc.h> drivers/mmc/stm32_sdmmc2.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/sunxi_mmc.c +0
-1@@ -13,7 +13,6 @@* proper DM_MMC implementation at the end. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/tangier_sdhci.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <dm/device.h> #include <linux/io.h> drivers/mmc/tegra_mmc.c +0
-1@@ -7,7 +7,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/tmio-common.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <fdtdec.h> drivers/mmc/uniphier-sd.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <fdtdec.h> #include <malloc.h> drivers/mmc/xenon_sdhci.c +0
-1@@ -14,7 +14,6 @@* Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/zynq_sdhci.c +0
-2@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <linux/delay.h> --2.34.1
RE: [PATCH 42/81] mmc: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 23 lines
-----Original Message-----
From: Tom Rini <[email protected]>
Sent: Thursday, May 2, 2024 10:31 AM
To: [email protected]
Cc: Peng Fan <[email protected]>; Jaehoon Chung <[email protected]>; Ryan Chen <[email protected]>; Chia-Wei Wang <[email protected]>; Aspeed BMC SW team <BMC- [email protected]>; Joel Stanley <[email protected]>; Matthias Brugger <[email protected]>; Peter Robinson <[email protected]>; Thomas Fitzsimmons <[email protected]>; Alex Nemirovsky <[email protected]>; Masahisa Kojima <[email protected]>; Neil Armstrong <[email protected]>; Simon Glass <[email protected]>; Caleb Connolly <[email protected]>; Sumit Garg <[email protected]>; Ryder Lee <[email protected]>; Weijie Gao <[email protected]>; Chunfeng Yun <[email protected]>;GSS_MTK_Uboot_upstream<[email protected]>; Tianrui Wei <[email protected]>; Philipp Tomsich <[email protected]>; Kever Yang <[email protected]>; Nobuhiro Iwamatsu <[email protected]>; Marek Vasut <[email protected]>; Eugeniy Paltsev <[email protected]>; Patrice Chotard <[email protected]>; Patrick Delaunay <[email protected]>; Thierry Reding <[email protected]>; Svyatoslav Ryhel <[email protected]>; Kunihiko Hayashi <[email protected]>; Dai Okamura <[email protected]>; Stefan Roese <[email protected]>; Michal Simek <[email protected]>
Subject: [PATCH 42/81] mmc: Remove <common.h> and add needed includes
Quoted 4 lines
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 874 lines
---
Cc: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Thomas Fitzsimmons <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Masahisa Kojima <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Tianrui Wei <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Michal Simek <[email protected]>--- drivers/mmc/am654_sdhci.c | 1 - drivers/mmc/arm_pl180_mmci.c | 1 - drivers/mmc/aspeed_sdhci.c | 1 - drivers/mmc/atmel_sdhci.c | 1 - drivers/mmc/bcm2835_sdhci.c | 1 - drivers/mmc/bcm2835_sdhost.c | 1 - drivers/mmc/bcmstb_sdhci.c | 1 - drivers/mmc/ca_dw_mmc.c | 1 - drivers/mmc/davinci_mmc.c | 1 - drivers/mmc/dw_mmc.c | 1 - drivers/mmc/exynos_dw_mmc.c | 1 - drivers/mmc/f_sdh30.c | 1 - drivers/mmc/fsl_esdhc.c | 1 - drivers/mmc/fsl_esdhc_imx.c | 1 - drivers/mmc/fsl_esdhc_spl.c | 2 +- drivers/mmc/ftsdc010_mci.c | 1 - drivers/mmc/gen_atmel_mci.c | 2 +- drivers/mmc/hi6220_dw_mmc.c | 1 - drivers/mmc/iproc_sdhci.c | 1 - drivers/mmc/jz_mmc.c | 1 - drivers/mmc/kona_sdhci.c | 1 - drivers/mmc/meson_gx_mmc.c | 1 - drivers/mmc/mmc-pwrseq.c | 1 - drivers/mmc/mmc-uclass.c | 1 - drivers/mmc/mmc.c | 3 ++- drivers/mmc/mmc_boot.c | 1 - drivers/mmc/mmc_bootdev.c | 1 - drivers/mmc/mmc_legacy.c | 1 - drivers/mmc/mmc_spi.c | 1 - drivers/mmc/mmc_write.c | 1 - drivers/mmc/msm_sdhci.c | 1 - drivers/mmc/mtk-sd.c | 1 - drivers/mmc/mv_sdhci.c | 1 - drivers/mmc/mvebu_mmc.c | 1 - drivers/mmc/mxcmmc.c | 1 - drivers/mmc/mxsmmc.c | 1 - drivers/mmc/nexell_dw_mmc.c | 1 - drivers/mmc/npcm_sdhci.c | 1 - drivers/mmc/omap_hsmmc.c | 1 - drivers/mmc/owl_mmc.c | 1 - drivers/mmc/pci_mmc.c | 1 - drivers/mmc/piton_mmc.c | 1 - drivers/mmc/rockchip_dw_mmc.c | 1 - drivers/mmc/rockchip_sdhci.c | 1 - drivers/mmc/rpmb.c | 1 - drivers/mmc/s5p_sdhci.c | 1 - drivers/mmc/sandbox_mmc.c | 1 - drivers/mmc/sdhci-adma.c | 1 - drivers/mmc/sdhci-cadence.c | 1 - drivers/mmc/sdhci.c | 2 +- drivers/mmc/sh_mmcif.c | 1 - drivers/mmc/snps_dw_mmc.c | 1 - drivers/mmc/socfpga_dw_mmc.c | 1 - drivers/mmc/sti_sdhci.c | 1 - drivers/mmc/stm32_sdmmc2.c | 1 - drivers/mmc/sunxi_mmc.c | 1 - drivers/mmc/tangier_sdhci.c | 1 - drivers/mmc/tegra_mmc.c | 1 - drivers/mmc/tmio-common.c | 1 - drivers/mmc/uniphier-sd.c | 1 - drivers/mmc/xenon_sdhci.c | 1 - drivers/mmc/zynq_sdhci.c | 1 - 62 files changed, 5 insertions(+), 62 deletions(-)drivers/mmc/am654_sdhci.c +0
-1@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <malloc.h> #include <mmc.h> drivers/mmc/arm_pl180_mmci.c +0
-1@@ -11,7 +11,6 @@/* #define DEBUG */ -#include "common.h" #include <clk.h> #include <errno.h> #include <log.h> drivers/mmc/aspeed_sdhci.c +0
-1@@ -4,7 +4,6 @@* Eddie James <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/atmel_sdhci.c +0
-1@@ -4,7 +4,6 @@* Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/bcm2835_sdhci.c +0
-1@@ -36,7 +36,6 @@* Inspired by sdhci-pci.c, by Pierre Ossman */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/mmc/bcm2835_sdhost.c +0
-1@@ -30,7 +30,6 @@* sdhci.c and sdhci-pci.c by Pierre Ossman */ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <asm/arch/msg.h> drivers/mmc/bcmstb_sdhci.c +0
-1@@ -6,7 +6,6 @@* Author: Thomas Fitzsimmons <[email protected]> */ -#include <common.h> #include <dm.h> #include <mach/sdhci.h> #include <malloc.h> drivers/mmc/ca_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* Arthur Li <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/davinci_mmc.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <mmc.h> drivers/mmc/dw_mmc.c +0
-1@@ -6,7 +6,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <cpu_func.h> #include <errno.h> #include <log.h> drivers/mmc/exynos_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/f_sdh30.c +0
-1@@ -5,7 +5,6 @@* Copyright 2021 Socionext, Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/fsl_esdhc.c +0
-1@@ -10,7 +10,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <cpu_func.h> #include <errno.h> drivers/mmc/fsl_esdhc_imx.c +0
-1@@ -11,7 +11,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <clk.h> #include <cpu_func.h> drivers/mmc/fsl_esdhc_spl.c +1
-1@@ -3,7 +3,7 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <hang.h> #include <mmc.h> drivers/mmc/ftsdc010_mci.c +0
-1@@ -9,7 +9,6 @@* Author: Rick Chen ([email protected]) */ -#include <common.h> #include <clk.h> #include <log.h> #include <malloc.h> drivers/mmc/gen_atmel_mci.c +1
-1@@ -8,7 +8,7 @@* Copyright (C) 2004-2006 Atmel Corporation */ -#include <common.h> +#include <config.h> #include <clk.h> #include <display_options.h> #include <dm.h> drivers/mmc/hi6220_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* peter.griffin <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h> drivers/mmc/iproc_sdhci.c +0
-1@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/mmc/jz_mmc.c +0
-1@@ -6,7 +6,6 @@* Author: Paul Burton <[email protected]> */ -#include <common.h> #include <malloc.h> #include <mmc.h> #include <asm/global_data.h> drivers/mmc/kona_sdhci.c +0
-1@@ -3,7 +3,6 @@* Copyright 2013 Broadcom Corporation. */ -#include <common.h> #include <malloc.h> #include <sdhci.h> #include <linux/delay.h> drivers/mmc/meson_gx_mmc.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2016 Carlo Caione <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/mmc-pwrseq.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <mmc.h> #include <pwrseq.h> drivers/mmc/mmc-uclass.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <bootdev.h> #include <log.h> #include <mmc.h> drivers/mmc/mmc.c +2
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <command.h> #include <dm.h> @@ -17,6 +16,7 @@#include <errno.h> #include <mmc.h> #include <part.h> +#include <time.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/printk.h> @@ -24,6 +24,7 @@#include <malloc.h> #include <memalign.h> #include <linux/list.h> +#include <linux/printk.h> #include <div64.h> #include "mmc_private.h" drivers/mmc/mmc_boot.c +0
-1@@ -4,7 +4,6 @@* Written by Amar <[email protected]> */ -#include <common.h> #include <log.h> #include <mmc.h> #include "mmc_private.h" drivers/mmc/mmc_bootdev.c +0
-1@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <bootdev.h> #include <dm.h> #include <mmc.h> drivers/mmc/mmc_legacy.c +0
-1@@ -5,7 +5,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h> drivers/mmc/mmc_spi.c +0
-1@@ -6,7 +6,6 @@* * Licensed under the GPL-2 or later. */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/mmc/mmc_write.c +0
-1@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <dm.h> #include <part.h> drivers/mmc/msm_sdhci.c +0
-1@@ -7,7 +7,6 @@* Based on Linux driver */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/mtk-sd.c +0
-1@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <errno.h> drivers/mmc/mv_sdhci.c +0
-1@@ -3,7 +3,6 @@* Marvell SD Host Controller Interface */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <sdhci.h> drivers/mmc/mvebu_mmc.c +0
-1@@ -7,7 +7,6 @@* Written-by: Maen Suleiman, Gerald Kerma */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/mmc/mxcmmc.c +0
-1@@ -17,7 +17,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <mmc.h> #include <part.h> drivers/mmc/mxsmmc.c +0
-1@@ -20,7 +20,6 @@* Kyle Harris, Nexus Technologies, Inc. [email protected] */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h> drivers/mmc/nexell_dw_mmc.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2019 Stefan Bosch <[email protected]> */ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <dwmmc.h> drivers/mmc/npcm_sdhci.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <sdhci.h> #include <clk.h> drivers/mmc/omap_hsmmc.c +0
-1@@ -23,7 +23,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> drivers/mmc/owl_mmc.c +0
-1@@ -11,7 +11,6 @@* channel, and those special bits used in this driver is picked from vendor * source exclusively for MMC/SD. */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/pci_mmc.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2014, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/piton_mmc.c +0
-1@@ -11,7 +11,6 @@#include <asm/gpio.h> #include <asm/io.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <errno.h> drivers/mmc/rockchip_dw_mmc.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/mmc/rockchip_sdhci.c +0
-1@@ -5,7 +5,6 @@* Rockchip SD Host Controller Interface */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/ofnode.h> drivers/mmc/rpmb.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <memalign.h> #include <mmc.h> drivers/mmc/s5p_sdhci.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/mmc/sandbox_mmc.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/mmc/sdhci-adma.c +0
-1@@ -3,7 +3,6 @@* SDHCI ADMA2 helper functions. */ -#include <common.h> #include <cpu_func.h> #include <sdhci.h> #include <malloc.h> drivers/mmc/sdhci-cadence.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <dm/device_compat.h> drivers/mmc/sdhci.c +1
-1@@ -7,7 +7,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h> @@ -15,6 +14,7 @@#include <malloc.h> #include <mmc.h> #include <sdhci.h> +#include <time.h> #include <asm/cache.h> #include <linux/bitops.h> #include <linux/delay.h> drivers/mmc/sh_mmcif.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <watchdog.h> #include <command.h> drivers/mmc/snps_dw_mmc.c +0
-1@@ -7,7 +7,6 @@* Author: Eugeniy Paltsev <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h> drivers/mmc/socfpga_dw_mmc.c +0
-0@@ -3,7 +3,6 @@* (C) Copyright 2013 Altera Corporation <https://protect2.fireeye.com/v1/url?k=02245fbf-5dbf6742- 0225d4f0-000babff317b-71f0095a955d1189&q=1&e=fd8eb5c0-5453-48c2-94b4- 6557ecb5f94f&u=http%3A%2F%2Fwww.altera.com%2F>
*/drivers/mmc/socfpga_dw_mmc.c +0
-1-#include <common.h> #include <log.h> #include <asm/arch/clock_manager.h> #include <asm/arch/secure_reg_helper.h> drivers/mmc/sti_sdhci.c +0
-1@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mmc.h> drivers/mmc/stm32_sdmmc2.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/sunxi_mmc.c +0
-1@@ -13,7 +13,6 @@* proper DM_MMC implementation at the end. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/tangier_sdhci.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <dm/device.h> #include <linux/io.h> drivers/mmc/tegra_mmc.c +0
-1@@ -7,7 +7,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/tmio-common.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <fdtdec.h> drivers/mmc/uniphier-sd.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <fdtdec.h> #include <malloc.h> drivers/mmc/xenon_sdhci.c +0
-1@@ -14,7 +14,6 @@* Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/zynq_sdhci.c +0
-2@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <linux/delay.h> --2.34.1
Re: [PATCH 42/81] mmc: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 870 lines
---
Cc: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Thomas Fitzsimmons <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Masahisa Kojima <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Tianrui Wei <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Michal Simek <[email protected]>--- drivers/mmc/am654_sdhci.c | 1 - drivers/mmc/arm_pl180_mmci.c | 1 - drivers/mmc/aspeed_sdhci.c | 1 - drivers/mmc/atmel_sdhci.c | 1 - drivers/mmc/bcm2835_sdhci.c | 1 - drivers/mmc/bcm2835_sdhost.c | 1 - drivers/mmc/bcmstb_sdhci.c | 1 - drivers/mmc/ca_dw_mmc.c | 1 - drivers/mmc/davinci_mmc.c | 1 - drivers/mmc/dw_mmc.c | 1 - drivers/mmc/exynos_dw_mmc.c | 1 - drivers/mmc/f_sdh30.c | 1 - drivers/mmc/fsl_esdhc.c | 1 - drivers/mmc/fsl_esdhc_imx.c | 1 - drivers/mmc/fsl_esdhc_spl.c | 2 +- drivers/mmc/ftsdc010_mci.c | 1 - drivers/mmc/gen_atmel_mci.c | 2 +- drivers/mmc/hi6220_dw_mmc.c | 1 - drivers/mmc/iproc_sdhci.c | 1 - drivers/mmc/jz_mmc.c | 1 - drivers/mmc/kona_sdhci.c | 1 - drivers/mmc/meson_gx_mmc.c | 1 - drivers/mmc/mmc-pwrseq.c | 1 - drivers/mmc/mmc-uclass.c | 1 - drivers/mmc/mmc.c | 3 ++- drivers/mmc/mmc_boot.c | 1 - drivers/mmc/mmc_bootdev.c | 1 - drivers/mmc/mmc_legacy.c | 1 - drivers/mmc/mmc_spi.c | 1 - drivers/mmc/mmc_write.c | 1 - drivers/mmc/msm_sdhci.c | 1 - drivers/mmc/mtk-sd.c | 1 - drivers/mmc/mv_sdhci.c | 1 - drivers/mmc/mvebu_mmc.c | 1 - drivers/mmc/mxcmmc.c | 1 - drivers/mmc/mxsmmc.c | 1 - drivers/mmc/nexell_dw_mmc.c | 1 - drivers/mmc/npcm_sdhci.c | 1 - drivers/mmc/omap_hsmmc.c | 1 - drivers/mmc/owl_mmc.c | 1 - drivers/mmc/pci_mmc.c | 1 - drivers/mmc/piton_mmc.c | 1 - drivers/mmc/rockchip_dw_mmc.c | 1 - drivers/mmc/rockchip_sdhci.c | 1 - drivers/mmc/rpmb.c | 1 - drivers/mmc/s5p_sdhci.c | 1 - drivers/mmc/sandbox_mmc.c | 1 - drivers/mmc/sdhci-adma.c | 1 - drivers/mmc/sdhci-cadence.c | 1 - drivers/mmc/sdhci.c | 2 +- drivers/mmc/sh_mmcif.c | 1 - drivers/mmc/snps_dw_mmc.c | 1 - drivers/mmc/socfpga_dw_mmc.c | 1 - drivers/mmc/sti_sdhci.c | 1 - drivers/mmc/stm32_sdmmc2.c | 1 - drivers/mmc/sunxi_mmc.c | 1 - drivers/mmc/tangier_sdhci.c | 1 - drivers/mmc/tegra_mmc.c | 1 - drivers/mmc/tmio-common.c | 1 - drivers/mmc/uniphier-sd.c | 1 - drivers/mmc/xenon_sdhci.c | 1 - drivers/mmc/zynq_sdhci.c | 1 - 62 files changed, 5 insertions(+), 62 deletions(-)drivers/mmc/am654_sdhci.c +0
-1@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <malloc.h> #include <mmc.h> drivers/mmc/arm_pl180_mmci.c +0
-1@@ -11,7 +11,6 @@/* #define DEBUG */ -#include "common.h" #include <clk.h> #include <errno.h> #include <log.h> drivers/mmc/aspeed_sdhci.c +0
-1@@ -4,7 +4,6 @@* Eddie James <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/atmel_sdhci.c +0
-1@@ -4,7 +4,6 @@* Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/bcm2835_sdhci.c +0
-1@@ -36,7 +36,6 @@* Inspired by sdhci-pci.c, by Pierre Ossman */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/mmc/bcm2835_sdhost.c +0
-1@@ -30,7 +30,6 @@* sdhci.c and sdhci-pci.c by Pierre Ossman */ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <asm/arch/msg.h> drivers/mmc/bcmstb_sdhci.c +0
-1@@ -6,7 +6,6 @@* Author: Thomas Fitzsimmons <[email protected]> */ -#include <common.h> #include <dm.h> #include <mach/sdhci.h> #include <malloc.h> drivers/mmc/ca_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* Arthur Li <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/davinci_mmc.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <mmc.h> drivers/mmc/dw_mmc.c +0
-1@@ -6,7 +6,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <cpu_func.h> #include <errno.h> #include <log.h> drivers/mmc/exynos_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dwmmc.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/f_sdh30.c +0
-1@@ -5,7 +5,6 @@* Copyright 2021 Socionext, Inc. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/fsl_esdhc.c +0
-1@@ -10,7 +10,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <cpu_func.h> #include <errno.h> drivers/mmc/fsl_esdhc_imx.c +0
-1@@ -11,7 +11,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <clk.h> #include <cpu_func.h> drivers/mmc/fsl_esdhc_spl.c +1
-1@@ -3,7 +3,7 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <hang.h> #include <mmc.h> drivers/mmc/ftsdc010_mci.c +0
-1@@ -9,7 +9,6 @@* Author: Rick Chen ([email protected]) */ -#include <common.h> #include <clk.h> #include <log.h> #include <malloc.h> drivers/mmc/gen_atmel_mci.c +1
-1@@ -8,7 +8,7 @@* Copyright (C) 2004-2006 Atmel Corporation */ -#include <common.h> +#include <config.h> #include <clk.h> #include <display_options.h> #include <dm.h> drivers/mmc/hi6220_dw_mmc.c +0
-1@@ -4,7 +4,6 @@* peter.griffin <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h> drivers/mmc/iproc_sdhci.c +0
-1@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> drivers/mmc/jz_mmc.c +0
-1@@ -6,7 +6,6 @@* Author: Paul Burton <[email protected]> */ -#include <common.h> #include <malloc.h> #include <mmc.h> #include <asm/global_data.h> drivers/mmc/kona_sdhci.c +0
-1@@ -3,7 +3,6 @@* Copyright 2013 Broadcom Corporation. */ -#include <common.h> #include <malloc.h> #include <sdhci.h> #include <linux/delay.h> drivers/mmc/meson_gx_mmc.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2016 Carlo Caione <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/mmc-pwrseq.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <mmc.h> #include <pwrseq.h> drivers/mmc/mmc-uclass.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <bootdev.h> #include <log.h> #include <mmc.h> drivers/mmc/mmc.c +2
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <command.h> #include <dm.h> @@ -17,6 +16,7 @@#include <errno.h> #include <mmc.h> #include <part.h> +#include <time.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/printk.h> @@ -24,6 +24,7 @@#include <malloc.h> #include <memalign.h> #include <linux/list.h> +#include <linux/printk.h> #include <div64.h> #include "mmc_private.h" drivers/mmc/mmc_boot.c +0
-1@@ -4,7 +4,6 @@* Written by Amar <[email protected]> */ -#include <common.h> #include <log.h> #include <mmc.h> #include "mmc_private.h" drivers/mmc/mmc_bootdev.c +0
-1@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <bootdev.h> #include <dm.h> #include <mmc.h> drivers/mmc/mmc_legacy.c +0
-1@@ -5,7 +5,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h> drivers/mmc/mmc_spi.c +0
-1@@ -6,7 +6,6 @@* * Licensed under the GPL-2 or later. */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/mmc/mmc_write.c +0
-1@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <blk.h> #include <dm.h> #include <part.h> drivers/mmc/msm_sdhci.c +0
-1@@ -7,7 +7,6 @@* Based on Linux driver */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/mmc/mtk-sd.c +0
-1@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <mmc.h> #include <errno.h> drivers/mmc/mv_sdhci.c +0
-1@@ -3,7 +3,6 @@* Marvell SD Host Controller Interface */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <sdhci.h> drivers/mmc/mvebu_mmc.c +0
-1@@ -7,7 +7,6 @@* Written-by: Maen Suleiman, Gerald Kerma */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/mmc/mxcmmc.c +0
-1@@ -17,7 +17,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <mmc.h> #include <part.h> drivers/mmc/mxsmmc.c +0
-1@@ -20,7 +20,6 @@* Kyle Harris, Nexus Technologies, Inc. [email protected] */ -#include <common.h> #include <log.h> #include <malloc.h> #include <mmc.h> drivers/mmc/nexell_dw_mmc.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2019 Stefan Bosch <[email protected]> */ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <dwmmc.h> drivers/mmc/npcm_sdhci.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <sdhci.h> #include <clk.h> drivers/mmc/omap_hsmmc.c +0
-1@@ -23,7 +23,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> drivers/mmc/owl_mmc.c +0
-1@@ -11,7 +11,6 @@* channel, and those special bits used in this driver is picked from vendor * source exclusively for MMC/SD. */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/pci_mmc.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2014, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/piton_mmc.c +0
-1@@ -11,7 +11,6 @@#include <asm/gpio.h> #include <asm/io.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <errno.h> drivers/mmc/rockchip_dw_mmc.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/mmc/rockchip_sdhci.c +0
-1@@ -5,7 +5,6 @@* Rockchip SD Host Controller Interface */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/ofnode.h> drivers/mmc/rpmb.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <memalign.h> #include <mmc.h> drivers/mmc/s5p_sdhci.c +0
-1@@ -4,7 +4,6 @@* Jaehoon Chung <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/mmc/sandbox_mmc.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/mmc/sdhci-adma.c +0
-1@@ -3,7 +3,6 @@* SDHCI ADMA2 helper functions. */ -#include <common.h> #include <cpu_func.h> #include <sdhci.h> #include <malloc.h> drivers/mmc/sdhci-cadence.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <dm/device_compat.h> drivers/mmc/sdhci.c +1
-1@@ -7,7 +7,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h> @@ -15,6 +14,7 @@#include <malloc.h> #include <mmc.h> #include <sdhci.h> +#include <time.h> #include <asm/cache.h> #include <linux/bitops.h> #include <linux/delay.h> drivers/mmc/sh_mmcif.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <watchdog.h> #include <command.h> drivers/mmc/snps_dw_mmc.c +0
-1@@ -7,7 +7,6 @@* Author: Eugeniy Paltsev <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dwmmc.h> drivers/mmc/socfpga_dw_mmc.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2013 Altera Corporation <www.altera.com> */ -#include <common.h> #include <log.h> #include <asm/arch/clock_manager.h> #include <asm/arch/secure_reg_helper.h> drivers/mmc/sti_sdhci.c +0
-1@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mmc.h> drivers/mmc/stm32_sdmmc2.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_MMC -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/mmc/sunxi_mmc.c +0
-1@@ -13,7 +13,6 @@* proper DM_MMC implementation at the end. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/tangier_sdhci.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <dm/device.h> #include <linux/io.h> drivers/mmc/tegra_mmc.c +0
-1@@ -7,7 +7,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/mmc/tmio-common.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <fdtdec.h> drivers/mmc/uniphier-sd.c +0
-1@@ -4,7 +4,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <clk.h> #include <fdtdec.h> #include <malloc.h> drivers/mmc/xenon_sdhci.c +0
-1@@ -14,7 +14,6 @@* Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <asm/global_data.h> drivers/mmc/zynq_sdhci.c +0
-1@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <linux/delay.h>
PATCH 43/81 mtd: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Dario Binacchi <[email protected]>
Cc: Michael Trimarchi <[email protected]>
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Frieder Schrempf <[email protected]>
Cc: Abdellatif El Khlifi <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Vignesh R <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Sean Anderson <[email protected]>
--- drivers/mtd/altera_qspi.c | 1 - drivers/mtd/cfi_flash.c | 3 ++- drivers/mtd/cfi_mtd.c | 1 - drivers/mtd/hbmc-am654.c | 1 - drivers/mtd/jedec_flash.c | 1 - drivers/mtd/mtd-uclass.c | 1 - drivers/mtd/mtd_uboot.c | 1 - drivers/mtd/mtdpart.c | 1 - drivers/mtd/nand/bbt.c | 1 - drivers/mtd/nand/core.c | 1 - drivers/mtd/nand/raw/am335x_spl_bch.c | 2 +- drivers/mtd/nand/raw/arasan_nfc.c | 1 - drivers/mtd/nand/raw/atmel_nand.c | 2 +- drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/brcmnand.c | 1 - drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c | 1 - drivers/mtd/nand/raw/brcmnand/iproc_nand.c | 1 - drivers/mtd/nand/raw/cortina_nand.c | 1 - drivers/mtd/nand/raw/davinci_nand.c | 2 +- drivers/mtd/nand/raw/denali.c | 1 - drivers/mtd/nand/raw/denali_spl.c | 2 +- drivers/mtd/nand/raw/fsl_elbc_nand.c | 2 +- drivers/mtd/nand/raw/fsl_elbc_spl.c | 2 +- drivers/mtd/nand/raw/fsl_ifc_nand.c | 2 +- drivers/mtd/nand/raw/fsl_ifc_spl.c | 2 +- drivers/mtd/nand/raw/kirkwood_nand.c | 1 - drivers/mtd/nand/raw/kmeter1_nand.c | 2 +- drivers/mtd/nand/raw/lpc32xx_nand_mlc.c | 2 +- drivers/mtd/nand/raw/lpc32xx_nand_slc.c | 2 +- drivers/mtd/nand/raw/mxc_nand.c | 2 +- drivers/mtd/nand/raw/mxc_nand_spl.c | 2 +- drivers/mtd/nand/raw/mxic_nand.c | 1 - drivers/mtd/nand/raw/mxs_nand.c | 1 - drivers/mtd/nand/raw/mxs_nand_spl.c | 1 - drivers/mtd/nand/raw/nand.c | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 - drivers/mtd/nand/raw/nand_bbt.c | 1 - drivers/mtd/nand/raw/nand_bch.c | 1 - drivers/mtd/nand/raw/nand_ecc.c | 1 - drivers/mtd/nand/raw/nand_ids.c | 1 - drivers/mtd/nand/raw/nand_spl_load.c | 2 +- drivers/mtd/nand/raw/nand_spl_simple.c | 2 +- drivers/mtd/nand/raw/nand_timings.c | 1 - drivers/mtd/nand/raw/nand_util.c | 1 - drivers/mtd/nand/raw/omap_elm.c | 1 - drivers/mtd/nand/raw/omap_gpmc.c | 2 +- drivers/mtd/nand/raw/pxa3xx_nand.c | 1 - drivers/mtd/nand/raw/rockchip_nfc.c | 1 - drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1 - drivers/mtd/nand/raw/sunxi_nand.c | 1 - drivers/mtd/nand/raw/sunxi_nand_spl.c | 1 - drivers/mtd/nand/raw/tegra_nand.c | 1 - drivers/mtd/nand/raw/vf610_nfc.c | 2 +- drivers/mtd/nand/raw/zynq_nand.c | 1 - drivers/mtd/nand/spi/core.c | 1 - drivers/mtd/nvmxip/nvmxip-uclass.c | 1 - drivers/mtd/nvmxip/nvmxip.c | 1 - drivers/mtd/nvmxip/nvmxip_qspi.c | 1 - drivers/mtd/onenand/onenand_base.c | 1 - drivers/mtd/onenand/onenand_bbt.c | 1 - drivers/mtd/onenand/onenand_spl.c | 3 ++- drivers/mtd/onenand/onenand_uboot.c | 2 +- drivers/mtd/onenand/samsung.c | 1 - drivers/mtd/renesas_rpc_hf.c | 1 - drivers/mtd/spi/fsl_espi_spl.c | 2 +- drivers/mtd/spi/sandbox.c | 1 - drivers/mtd/spi/sf-uclass.c | 1 - drivers/mtd/spi/sf_bootdev.c | 1 - drivers/mtd/spi/sf_dataflash.c | 1 - drivers/mtd/spi/sf_mtd.c | 1 - drivers/mtd/spi/sf_probe.c | 1 - drivers/mtd/spi/spi-nor-core.c | 1 - drivers/mtd/spi/spi-nor-ids.c | 1 - drivers/mtd/spi/spi-nor-tiny.c | 1 - drivers/mtd/stm32_flash.c | 2 +- drivers/mtd/ubispl/ubispl.c | 1 - 81 files changed, 25 insertions(+), 81 deletions(-)
drivers/mtd/altera_qspi.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015 Thomas Chou <[email protected]> */ -#include <common.h> #include <console.h> #include <dm.h> #include <errno.h>
drivers/mtd/cfi_flash.c +2 -1
@@ -16,7 +16,7 @@/* The DEBUG define must be before common to enable debugging */ /* #define DEBUG */ -#include <common.h> +#include <config.h> #include <console.h> #include <dm.h> #include <env.h>
@@ -26,6 +26,7 @@#include <init.h> #include <irq_func.h> #include <log.h> +#include <time.h> #include <asm/global_data.h> #include <asm/processor.h> #include <asm/io.h>
drivers/mtd/cfi_mtd.c +0 -1
@@ -5,7 +5,6 @@* Written by: Piotr Ziecik <[email protected]> */ -#include <common.h> #include <dma.h> #include <flash.h> #include <malloc.h>
drivers/mtd/hbmc-am654.c +0 -1
@@ -3,7 +3,6 @@// Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ // Author: Vignesh Raghavendra <[email protected]> -#include <common.h> #include <asm/io.h> #include <dm.h> #include <regmap.h>
drivers/mtd/jedec_flash.c +0 -1
@@ -11,7 +11,6 @@/* The DEBUG define must be before common to enable debugging */ /*#define DEBUG*/ -#include <common.h> #include <flash.h> #include <log.h> #include <asm/processor.h>
drivers/mtd/mtd-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_MTD -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <errno.h>
drivers/mtd/mtd_uboot.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2014 * Heiko Schocher, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <env.h> #include <log.h> #include <malloc.h>
drivers/mtd/mtdpart.c +0 -1
@@ -19,7 +19,6 @@#include <linux/kmod.h> #endif -#include <common.h> #include <malloc.h> #include <linux/bug.h> #include <linux/errno.h>
drivers/mtd/nand/bbt.c +0 -1
@@ -9,7 +9,6 @@#define pr_fmt (fmt) "nand-bbt: " fmt -#include <common.h> #include <dm/devres.h> #include <linux/bitops.h> #include <linux/mtd/nand.h>
drivers/mtd/nand/core.c +0 -1
@@ -9,7 +9,6 @@#define pr_fmt (fmt) "nand: " fmt -#include <common.h> #include <watchdog.h> #ifndef __UBOOT__#include <linux/compat.h>
drivers/mtd/nand/raw/am335x_spl_bch.c +1 -1
@@ -9,7 +9,7 @@* Stefan Roese, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <nand.h> #include <system-constants.h> #include <asm/io.h>
drivers/mtd/nand/raw/arasan_nfc.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2014 - 2015 Xilinx, Inc. */ -#include <common.h> #include <malloc.h> #include <asm/io.h> #include <linux/delay.h>
drivers/mtd/nand/raw/atmel_nand.c +1 -1
@@ -10,7 +10,7 @@* (C) Copyright 2012 ATMEL, Hong Xu */ -#include <common.h> +#include <config.h> #include <log.h> #include <system-constants.h> #include <asm/gpio.h>
drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/brcmnand.c +0 -1
@@ -12,7 +12,6 @@* GNU General Public License for more details. */ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <dm.h> #include <malloc.h> #include <dm/devres.h>
drivers/mtd/nand/raw/brcmnand/iproc_nand.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2015 Broadcom Corporation */ -#include <common.h> #include <asm/io.h> #include <memalign.h> #include <nand.h>
drivers/mtd/nand/raw/cortina_nand.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2020, Cortina Access Inc.. */ -#include <common.h> #include <linux/delay.h> #include <linux/bitops.h> #include <linux/sizes.h>
drivers/mtd/nand/raw/davinci_nand.c +1 -1
@@ -28,7 +28,7 @@- */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/mtd/rawnand.h> #include <asm/io.h>
drivers/mtd/nand/raw/denali.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2009-2010, Intel Corporation and its suppliers. */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <nand.h>
drivers/mtd/nand/raw/denali_spl.c +1 -1
@@ -4,7 +4,7 @@* Copyright (C) 2014-2015 Masahiro Yamada <[email protected]> */ -#include <common.h> +#include <config.h> #include <log.h> #include <asm/io.h> #include <asm/unaligned.h>
drivers/mtd/nand/raw/fsl_elbc_nand.c +1 -1
@@ -7,7 +7,7 @@* Scott Wood <[email protected]> */ -#include <common.h> +#include <config.h> #include <command.h> #include <malloc.h> #include <nand.h>
drivers/mtd/nand/raw/fsl_elbc_spl.c +1 -1
@@ -9,7 +9,7 @@* Author: Scott Wood <[email protected]> */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <linux/mtd/rawnand.h> #include <asm/io.h>
drivers/mtd/nand/raw/fsl_ifc_nand.c +1 -1
@@ -6,7 +6,7 @@* Authors: Dipen Dudhat <[email protected]> */ -#include <common.h> +#include <config.h> #include <command.h> #include <malloc.h> #include <nand.h>
drivers/mtd/nand/raw/fsl_ifc_spl.c +1 -1
@@ -6,7 +6,7 @@* Author: Dipen Dudhat <[email protected]> */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <asm/io.h> #include <fsl_ifc.h>
drivers/mtd/nand/raw/kirkwood_nand.c +0 -1
@@ -5,7 +5,6 @@* Written-by: Prafulla Wadaskar <[email protected]> */ -#include <common.h> #include <linux/mtd/rawnand.h> #include <asm/io.h> #include <asm/arch/soc.h>
drivers/mtd/nand/raw/kmeter1_nand.c +1 -1
@@ -4,7 +4,7 @@* Heiko Schocher, DENX Software Engineering, [email protected] */ -#include <common.h> +#include <config.h> #include <nand.h> #include <asm/io.h> #include <linux/delay.h>
drivers/mtd/nand/raw/lpc32xx_nand_mlc.c +1 -1
@@ -19,7 +19,7 @@* should not rely on the ECC validity. */ -#include <common.h> +#include <config.h> #include <nand.h> #include <linux/delay.h> #include <linux/errno.h>
drivers/mtd/nand/raw/lpc32xx_nand_slc.c +1 -1
@@ -10,7 +10,7 @@* Author: Kevin Wells */ -#include <common.h> +#include <config.h> #include <log.h> #include <nand.h> #include <linux/bug.h>
drivers/mtd/nand/raw/mxc_nand.c +1 -1
@@ -5,7 +5,7 @@* Copyright 2009 Ilya Yanok, <[email protected]> */ -#include <common.h> +#include <config.h> #include <log.h> #include <nand.h> #include <linux/delay.h>
drivers/mtd/nand/raw/mxc_nand_spl.c +1 -1
@@ -10,7 +10,7 @@* Stefan Roese, DENX Software Engineering, sr at denx.de. */ -#include <common.h> +#include <config.h> #include <hang.h> #include <nand.h> #include <system-constants.h>
drivers/mtd/nand/raw/mxic_nand.c +0 -1
@@ -6,7 +6,6 @@* Zhengxun Li <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h>
drivers/mtd/nand/raw/mxs_nand.c +0 -1
@@ -13,7 +13,6 @@* Copyright 2017-2019 NXP */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/mtd/nand/raw/mxs_nand_spl.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2019 NXP * Author: Tim Harvey <[email protected]> */ -#include <common.h> #include <log.h> #include <nand.h> #include <malloc.h>
drivers/mtd/nand/raw/nand.c +1 -1
@@ -5,7 +5,7 @@* Ladislav Michl <[email protected]> */ -#include <common.h> +#include <config.h> #include <nand.h> #include <errno.h> #include <linux/mtd/concat.h>
drivers/mtd/nand/raw/nand_base.c +0 -1
@@ -28,7 +28,6 @@*/ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt -#include <common.h> #include <log.h> #include <malloc.h> #include <watchdog.h>
drivers/mtd/nand/raw/nand_bbt.c +0 -1
@@ -57,7 +57,6 @@* */ -#include <common.h> #include <log.h> #include <malloc.h> #include <dm/devres.h>
drivers/mtd/nand/raw/nand_bch.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <log.h> #include <dm/devres.h> #include <linux/printk.h>
drivers/mtd/nand/raw/nand_ecc.c +0 -1
@@ -22,7 +22,6 @@* this file might be covered by the GNU General Public License. */ -#include <common.h> #include <linux/errno.h> #include <linux/mtd/mtd.h>
drivers/mtd/nand/raw/nand_ids.c +0 -1
@@ -6,7 +6,6 @@* published by the Free Software Foundation. * */ -#include <common.h> #include <linux/mtd/rawnand.h> #include <linux/sizes.h>
drivers/mtd/nand/raw/nand_spl_load.c +1 -1
@@ -4,7 +4,7 @@* Heiko Schocher, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <nand.h> /*
drivers/mtd/nand/raw/nand_spl_simple.c +1 -1
@@ -4,7 +4,7 @@* Stefan Roese, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <nand.h> #include <system-constants.h> #include <asm/io.h>
drivers/mtd/nand/raw/nand_timings.c +0 -1
@@ -8,7 +8,6 @@* published by the Free Software Foundation. * */ -#include <common.h> #include <linux/err.h> #include <linux/kernel.h> #include <linux/mtd/rawnand.h>
drivers/mtd/nand/raw/nand_util.c +0 -1
@@ -18,7 +18,6 @@* Copyright 2010 Freescale Semiconductor */ -#include <common.h> #include <command.h> #include <log.h> #include <watchdog.h>
drivers/mtd/nand/raw/omap_elm.c +0 -1
@@ -12,7 +12,6 @@* sets in uboot */ -#include <common.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/arch/hardware.h>
drivers/mtd/nand/raw/omap_gpmc.c +1 -1
@@ -4,7 +4,7 @@* Rohit Choraria <[email protected]> */ -#include <common.h> +#include <config.h> #include <log.h> #include <system-constants.h> #include <asm/io.h>
drivers/mtd/nand/raw/pxa3xx_nand.c +0 -1
@@ -6,7 +6,6 @@* Copyright © 2006 Marvell International Ltd. */ -#include <common.h> #include <malloc.h> #include <fdtdec.h> #include <nand.h>
drivers/mtd/nand/raw/rockchip_nfc.c +0 -1
@@ -5,7 +5,6 @@* Author: Yifeng Zhao <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <clk.h> #include <dm.h>
drivers/mtd/nand/raw/stm32_fmc2_nand.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_MTD -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/mtd/nand/raw/sunxi_nand.c +0 -1
@@ -25,7 +25,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <malloc.h> #include <memalign.h>
drivers/mtd/nand/raw/sunxi_nand_spl.c +0 -1
@@ -6,7 +6,6 @@#include <asm/arch/clock.h> #include <asm/io.h> -#include <common.h> #include <config.h> #include <nand.h> #include <linux/bitops.h>
drivers/mtd/nand/raw/tegra_nand.c +0 -1
@@ -6,7 +6,6 @@* (C) Copyright 2006 DENX Software Engineering */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h>
drivers/mtd/nand/raw/vf610_nfc.c +1 -1
@@ -21,7 +21,7 @@* - HW ECC: Only 24 and 32-bit error correction implemented. */ -#include <common.h> +#include <config.h> #include <malloc.h> #include <dm/device_compat.h> #include <linux/printk.h>
drivers/mtd/nand/raw/zynq_nand.c +0 -1
@@ -6,7 +6,6 @@* This driver is based on plat_nand.c and mxc_nand.c drivers */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/io.h>
drivers/mtd/nand/spi/core.c +0 -1
@@ -21,7 +21,6 @@#include <linux/spi/spi.h> #include <linux/spi/spi-mem.h> #else -#include <common.h> #include <errno.h> #include <watchdog.h> #include <spi.h>
drivers/mtd/nvmxip/nvmxip-uclass.c +0 -1
@@ -6,7 +6,6 @@* Abdellatif El Khlifi <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #if CONFIG_IS_ENABLED (SANDBOX64 )
drivers/mtd/nvmxip/nvmxip.c +0 -1
@@ -6,7 +6,6 @@* Abdellatif El Khlifi <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <mapmem.h>
drivers/mtd/nvmxip/nvmxip_qspi.c +0 -1
@@ -6,7 +6,6 @@* Abdellatif El Khlifi <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdt_support.h> #include <linux/errno.h>
drivers/mtd/onenand/onenand_base.c +0 -1
@@ -19,7 +19,6 @@* published by the Free Software Foundation. */ -#include <common.h> #include <log.h> #include <watchdog.h> #include <dm/devres.h>
drivers/mtd/onenand/onenand_bbt.c +0 -1
@@ -14,7 +14,6 @@* published by the Free Software Foundation. */ -#include <common.h> #include <log.h> #include <linux/compat.h> #include <linux/mtd/mtd.h>
drivers/mtd/onenand/onenand_spl.c +2 -1
@@ -7,9 +7,10 @@* Kyungmin Park <[email protected]> */ -#include <common.h> +#include <config.h> #include <asm/io.h> #include <linux/bitops.h> +#include <linux/string.h> #include <linux/mtd/onenand_regs.h> #include <onenand_uboot.h>
drivers/mtd/onenand/onenand_uboot.c +1 -1
@@ -13,7 +13,7 @@* OneNAND initialization at U-Boot */ -#include <common.h> +#include <config.h> #include <display_options.h> #include <linux/compat.h> #include <linux/mtd/mtd.h>
drivers/mtd/onenand/samsung.c +0 -1
@@ -9,7 +9,6 @@* Emulate the pseudo BufferRAM */ -#include <common.h> #include <malloc.h> #include <linux/compat.h> #include <linux/mtd/mtd.h>
drivers/mtd/renesas_rpc_hf.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2017 Marek Vasut <[email protected]> */ -#include <common.h> #include <malloc.h> #include <asm/io.h> #include <clk.h>
drivers/mtd/spi/fsl_espi_spl.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <hang.h> #include <spi_flash.h>
drivers/mtd/spi/sandbox.c +0 -1
@@ -10,7 +10,6 @@#define LOG_CATEGORY UCLASS_SPI_FLASH -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/mtd/spi/sf-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SPI_FLASH -#include <common.h> #include <bootdev.h> #include <dm.h> #include <log.h>
drivers/mtd/spi/sf_bootdev.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2022 Google LLC */ -#include <common.h> #include <bootdev.h> #include <bootflow.h> #include <bootmeth.h>
drivers/mtd/spi/sf_dataflash.c +0 -1
@@ -6,7 +6,6 @@* Haikun Wang ([email protected]) */ -#include <common.h> #include <display_options.h> #include <dm.h> #include <errno.h>
drivers/mtd/spi/sf_mtd.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2012-2014 Daniel Schwierzeck, [email protected] */ -#include <common.h> #include <malloc.h> #include <linux/errno.h> #include <linux/mtd/mtd.h>
drivers/mtd/spi/sf_probe.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2013 Jagannadha Sutradharudu Teki, Xilinx Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/mtd/spi-nor.h>
drivers/mtd/spi/spi-nor-core.c +0 -1
@@ -9,7 +9,6 @@* Synced from Linux v4.19 */ -#include <common.h> #include <display_options.h> #include <log.h> #include <watchdog.h>
drivers/mtd/spi/spi-nor-ids.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ */ -#include <common.h> #include <spi.h> #include <spi_flash.h>
drivers/mtd/spi/spi-nor-tiny.c +0 -1
@@ -9,7 +9,6 @@* Synced from Linux v4.19 */ -#include <common.h> #include <log.h> #include <dm/device_compat.h> #include <linux/err.h>
drivers/mtd/stm32_flash.c +1 -1
@@ -4,7 +4,7 @@* Kamil Lulko, <[email protected]> */ -#include <common.h> +#include <config.h> #include <flash.h> #include <asm/io.h> #include <asm/arch/stm32.h>
drivers/mtd/ubispl/ubispl.c +0 -1
@@ -7,7 +7,6 @@* Copyright (c) International Business Machines Corp., 2006 */ -#include <common.h> #include <errno.h> #include <linux/bug.h> #include <u-boot/crc.h>
Signature · 1 line
2.34.1
Re: [PATCH 43/81] mtd: Remove <common.h> and add needed includes
Quoted 104 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>---
Cc: Tom Rini <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Dario Binacchi <[email protected]>
Cc: Michael Trimarchi <[email protected]>
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Frieder Schrempf <[email protected]>
Cc: Abdellatif El Khlifi <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Vignesh R <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Sean Anderson <[email protected]>--- drivers/mtd/altera_qspi.c | 1 - drivers/mtd/cfi_flash.c | 3 ++- drivers/mtd/cfi_mtd.c | 1 - drivers/mtd/hbmc-am654.c | 1 - drivers/mtd/jedec_flash.c | 1 - drivers/mtd/mtd-uclass.c | 1 - drivers/mtd/mtd_uboot.c | 1 - drivers/mtd/mtdpart.c | 1 - drivers/mtd/nand/bbt.c | 1 - drivers/mtd/nand/core.c | 1 - drivers/mtd/nand/raw/am335x_spl_bch.c | 2 +- drivers/mtd/nand/raw/arasan_nfc.c | 1 - drivers/mtd/nand/raw/atmel_nand.c | 2 +- drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c | 1 - drivers/mtd/nand/raw/brcmnand/brcmnand.c | 1 - drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c | 1 - drivers/mtd/nand/raw/brcmnand/iproc_nand.c | 1 - drivers/mtd/nand/raw/cortina_nand.c | 1 - drivers/mtd/nand/raw/davinci_nand.c | 2 +- drivers/mtd/nand/raw/denali.c | 1 - drivers/mtd/nand/raw/denali_spl.c | 2 +- drivers/mtd/nand/raw/fsl_elbc_nand.c | 2 +- drivers/mtd/nand/raw/fsl_elbc_spl.c | 2 +- drivers/mtd/nand/raw/fsl_ifc_nand.c | 2 +- drivers/mtd/nand/raw/fsl_ifc_spl.c | 2 +- drivers/mtd/nand/raw/kirkwood_nand.c | 1 - drivers/mtd/nand/raw/kmeter1_nand.c | 2 +- drivers/mtd/nand/raw/lpc32xx_nand_mlc.c | 2 +- drivers/mtd/nand/raw/lpc32xx_nand_slc.c | 2 +- drivers/mtd/nand/raw/mxc_nand.c | 2 +- drivers/mtd/nand/raw/mxc_nand_spl.c | 2 +- drivers/mtd/nand/raw/mxic_nand.c | 1 - drivers/mtd/nand/raw/mxs_nand.c | 1 - drivers/mtd/nand/raw/mxs_nand_spl.c | 1 - drivers/mtd/nand/raw/nand.c | 2 +- drivers/mtd/nand/raw/nand_base.c | 1 - drivers/mtd/nand/raw/nand_bbt.c | 1 - drivers/mtd/nand/raw/nand_bch.c | 1 - drivers/mtd/nand/raw/nand_ecc.c | 1 - drivers/mtd/nand/raw/nand_ids.c | 1 - drivers/mtd/nand/raw/nand_spl_load.c | 2 +- drivers/mtd/nand/raw/nand_spl_simple.c | 2 +- drivers/mtd/nand/raw/nand_timings.c | 1 - drivers/mtd/nand/raw/nand_util.c | 1 - drivers/mtd/nand/raw/omap_elm.c | 1 - drivers/mtd/nand/raw/omap_gpmc.c | 2 +- drivers/mtd/nand/raw/pxa3xx_nand.c | 1 - drivers/mtd/nand/raw/rockchip_nfc.c | 1 - drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1 - drivers/mtd/nand/raw/sunxi_nand.c | 1 - drivers/mtd/nand/raw/sunxi_nand_spl.c | 1 - drivers/mtd/nand/raw/tegra_nand.c | 1 - drivers/mtd/nand/raw/vf610_nfc.c | 2 +- drivers/mtd/nand/raw/zynq_nand.c | 1 - drivers/mtd/nand/spi/core.c | 1 - drivers/mtd/nvmxip/nvmxip-uclass.c | 1 - drivers/mtd/nvmxip/nvmxip.c | 1 - drivers/mtd/nvmxip/nvmxip_qspi.c | 1 - drivers/mtd/onenand/onenand_base.c | 1 - drivers/mtd/onenand/onenand_bbt.c | 1 - drivers/mtd/onenand/onenand_spl.c | 3 ++- drivers/mtd/onenand/onenand_uboot.c | 2 +- drivers/mtd/onenand/samsung.c | 1 - drivers/mtd/renesas_rpc_hf.c | 1 - drivers/mtd/spi/fsl_espi_spl.c | 2 +- drivers/mtd/spi/sandbox.c | 1 - drivers/mtd/spi/sf-uclass.c | 1 - drivers/mtd/spi/sf_bootdev.c | 1 - drivers/mtd/spi/sf_dataflash.c | 1 -
Quoted 9 lines
drivers/mtd/spi/sf_mtd.c | 1 - drivers/mtd/spi/sf_probe.c | 1 - drivers/mtd/spi/spi-nor-core.c | 1 - drivers/mtd/spi/spi-nor-ids.c | 1 - drivers/mtd/spi/spi-nor-tiny.c | 1 - drivers/mtd/stm32_flash.c | 2 +- drivers/mtd/ubispl/ubispl.c | 1 - 81 files changed, 25 insertions(+), 81 deletions(-)
For drivers/mtd/nand/raw/brcmnand/*,
PATCH 44/81 mux: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Nishanth Menon <[email protected]>
--- drivers/mux/mmio.c | 1 - drivers/mux/mux-uclass.c | 1 - 2 files changed, 2 deletions(-)
drivers/mux/mmio.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2017 Pengutronix, Philipp Zabel <[email protected]> * Copyright (C) 2019 Texas Instrument, Jean-jacques Hiblot <[email protected]> */ -#include <common.h> #include <dm.h> #include <mux-internal.h> #include <regmap.h>
drivers/mux/mux-uclass.c +0 -1
@@ -13,7 +13,6 @@#define LOG_CATEGORY UCLASS_MUX -#include <common.h> #include <dm.h> #include <mux-internal.h> #include <dm/device-internal.h>
Signature · 1 line
2.34.1
PATCH 45/81 net: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Joe Hershberger <[email protected]>
Cc: Ramon Fried <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Robert Marko <[email protected]>
Cc: Luka Kovacic <[email protected]>
Cc: Luka Perkov <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Lars Povlsen <[email protected]>
Cc: Horatiu Vultur <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Radu Pirea <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Ioana Ciornei <[email protected]>
Cc: Laurentiu Tudor <[email protected]>
Cc: Nate Drude <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: "Rafał Miłecki" <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Frank de Brabander <[email protected]>
Cc: Leo Yu-Chi Liang <[email protected]>
Cc: Lukasz Tekieli <[email protected]>
Cc: Nicolas Frattaroli <[email protected]>
Cc: Yanhong Wang <[email protected]>
Cc: Jacky Chou <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Eugeniu Rosca <[email protected]>
Cc: Tejas Bhumkar <[email protected]>
Cc: "Sébastien Szymanski" <[email protected]>
Cc: Stefan Herbrechtsmeier <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Siddharth Vadapalli <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Suman Anna <[email protected]>
Cc: Andreas Dannenberg <[email protected]>
--- drivers/net/ag7xxx.c | 1 - drivers/net/altera_tse.c | 1 - drivers/net/aspeed_mdio.c | 1 - drivers/net/bcm-sf2-eth-gmac.c | 1 - drivers/net/bcm-sf2-eth.c | 1 - drivers/net/bcm6348-eth.c | 1 - drivers/net/bcm6368-eth.c | 1 - drivers/net/bnxt/bnxt.c | 1 - drivers/net/calxedaxgmac.c | 1 - drivers/net/cortina_ni.c | 1 - drivers/net/dc2114x.c | 1 - drivers/net/designware.c | 1 - drivers/net/dm9000x.c | 1 - drivers/net/dwc_eth_qos.c | 1 - drivers/net/dwc_eth_qos_imx.c | 1 - drivers/net/dwc_eth_qos_qcom.c | 1 - drivers/net/dwc_eth_qos_rockchip.c | 1 - drivers/net/dwc_eth_qos_starfive.c | 1 - drivers/net/dwmac_meson8b.c | 1 - drivers/net/dwmac_s700.c | 1 - drivers/net/dwmac_socfpga.c | 1 - drivers/net/e1000.c | 1 - drivers/net/e1000_spi.c | 2 +- drivers/net/eepro100.c | 2 +- drivers/net/eth-phy-uclass.c | 1 - drivers/net/ethoc.c | 1 - drivers/net/fec_mxc.c | 1 - drivers/net/fm/b4860.c | 2 +- drivers/net/fm/dtsec.c | 1 - drivers/net/fm/eth.c | 2 +- drivers/net/fm/ls1043.c | 2 +- drivers/net/fm/ls1046.c | 2 +- drivers/net/fm/memac.c | 1 - drivers/net/fm/memac_phy.c | 1 - drivers/net/fm/p1023.c | 2 +- drivers/net/fm/p4080.c | 2 +- drivers/net/fm/p5020.c | 2 +- drivers/net/fm/p5040.c | 2 +- drivers/net/fm/t1024.c | 2 +- drivers/net/fm/t1040.c | 2 +- drivers/net/fm/t2080.c | 2 +- drivers/net/fm/t4240.c | 2 +- drivers/net/fm/tgec.c | 1 - drivers/net/fm/tgec_phy.c | 1 - drivers/net/fsl-mc/mc.c | 2 +- drivers/net/fsl-mc/mc_sys.c | 1 - drivers/net/fsl_enetc.c | 1 - drivers/net/fsl_enetc_mdio.c | 1 - drivers/net/fsl_ls_mdio.c | 1 - drivers/net/fsl_mdio.c | 1 - drivers/net/ftgmac100.c | 1 - drivers/net/ftmac100.c | 1 - drivers/net/gmac_rockchip.c | 1 - drivers/net/higmacv300.c | 1 - drivers/net/ks8851_mll.c | 1 - drivers/net/ldpaa_eth/ldpaa_eth.c | 1 - drivers/net/ldpaa_eth/ldpaa_wriop.c | 1 - drivers/net/ldpaa_eth/ls1088a.c | 2 +- drivers/net/ldpaa_eth/ls2080a.c | 2 +- drivers/net/ldpaa_eth/lx2160a.c | 2 +- drivers/net/macb.c | 1 - drivers/net/mcffec.c | 2 +- drivers/net/mcfmii.c | 1 - drivers/net/mdio-ipq4019.c | 1 - drivers/net/mpc8xx_fec.c | 1 - drivers/net/mscc_eswitch/jr2_switch.c | 1 - drivers/net/mscc_eswitch/luton_switch.c | 1 - drivers/net/mscc_eswitch/ocelot_switch.c | 1 - drivers/net/mscc_eswitch/serval_switch.c | 1 - drivers/net/mscc_eswitch/servalt_switch.c | 1 - drivers/net/mt7628-eth.c | 1 - drivers/net/mtk_eth.c | 1 - drivers/net/mv88e6xxx.c | 1 - drivers/net/mvgbe.c | 1 - drivers/net/mvmdio.c | 1 - drivers/net/mvneta.c | 1 - drivers/net/mvpp2.c | 1 - drivers/net/netconsole.c | 2 +- drivers/net/npcm750_eth.c | 1 - drivers/net/pch_gbe.c | 1 - drivers/net/pcnet.c | 1 - drivers/net/pfe_eth/pfe_cmd.c | 1 - drivers/net/pfe_eth/pfe_eth.c | 2 +- drivers/net/pfe_eth/pfe_mdio.c | 2 +- drivers/net/phy/adin.c | 1 - drivers/net/phy/aquantia.c | 1 - drivers/net/phy/atheros.c | 1 - drivers/net/phy/b53.c | 1 - drivers/net/phy/broadcom.c | 1 - drivers/net/phy/ca_phy.c | 1 - drivers/net/phy/cortina.c | 1 - drivers/net/phy/davicom.c | 1 - drivers/net/phy/dp83867.c | 1 - drivers/net/phy/dp83869.c | 1 - drivers/net/phy/ethernet_id.c | 1 - drivers/net/phy/fixed.c | 1 - drivers/net/phy/generic_10g.c | 1 - drivers/net/phy/intel_xway.c | 1 - drivers/net/phy/lxt.c | 1 - drivers/net/phy/marvell.c | 1 - drivers/net/phy/marvell10g.c | 1 - drivers/net/phy/meson-gxl.c | 1 - drivers/net/phy/micrel_ksz8xxx.c | 1 - drivers/net/phy/micrel_ksz90x1.c | 1 - drivers/net/phy/miiphybb.c | 1 - drivers/net/phy/motorcomm.c | 1 - drivers/net/phy/mv88e61xx.c | 1 - drivers/net/phy/mv88e6352.c | 1 - drivers/net/phy/natsemi.c | 1 - drivers/net/phy/ncsi.c | 1 - drivers/net/phy/nxp-c45-tja11xx.c | 1 - drivers/net/phy/nxp-tja11xx.c | 1 - drivers/net/phy/phy.c | 1 - drivers/net/phy/realtek.c | 1 - drivers/net/phy/smsc.c | 1 - drivers/net/phy/teranetics.c | 1 - drivers/net/phy/vitesse.c | 1 - drivers/net/phy/xilinx_gmii2rgmii.c | 1 - drivers/net/phy/xilinx_phy.c | 1 - drivers/net/pic32_eth.c | 1 - drivers/net/pic32_mdio.c | 1 - drivers/net/qe/dm_qe_uec.c | 1 - drivers/net/qe/dm_qe_uec_phy.c | 1 - drivers/net/qe/uccf.c | 1 + drivers/net/qe/uccf.h | 4 ++-- drivers/net/ravb.c | 1 - drivers/net/rswitch.c | 1 - drivers/net/rtl8139.c | 1 - drivers/net/rtl8169.c | 1 - drivers/net/sandbox-raw-bus.c | 1 - drivers/net/sandbox-raw.c | 1 - drivers/net/sandbox.c | 1 - drivers/net/sh_eth.c | 1 - drivers/net/sja1105.c | 1 - drivers/net/smc911x.c | 1 - drivers/net/sun8i_emac.c | 1 - drivers/net/sunxi_emac.c | 1 - drivers/net/ti/am65-cpsw-nuss.c | 1 - drivers/net/ti/cpsw-common.c | 1 - drivers/net/ti/cpsw.c | 1 - drivers/net/ti/cpsw_mdio.c | 1 - drivers/net/ti/davinci_emac.c | 2 +- drivers/net/ti/keystone_net.c | 1 - drivers/net/tsec.c | 1 - drivers/net/vsc7385.c | 1 - drivers/net/xilinx_axi_emac.c | 1 - drivers/net/xilinx_axi_mrmac.c | 1 - drivers/net/xilinx_emaclite.c | 1 - drivers/net/zynq_gem.c | 1 - 149 files changed, 26 insertions(+), 149 deletions(-)
drivers/net/ag7xxx.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2019 Rosy Song <[email protected]> */ -#include <common.h> #include <clock_legacy.h> #include <cpu_func.h> #include <dm.h>
drivers/net/altera_tse.c +0 -1
@@ -8,7 +8,6 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h>
drivers/net/aspeed_mdio.c +0 -1
@@ -7,7 +7,6 @@* This file is inspired from the Linux kernel driver drivers/net/phy/mdio-aspeed.c */ -#include <common.h> #include <dm.h> #include <log.h> #include <miiphy.h>
drivers/net/bcm-sf2-eth-gmac.c +0 -1
@@ -11,7 +11,6 @@#endif #include <config.h> -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h>
drivers/net/bcm-sf2-eth.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2014 Broadcom Corporation. */ -#include <common.h> #include <log.h> #include <malloc.h> #include <net.h>
drivers/net/bcm6348-eth.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2008 Maxime Bizon <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dma.h>
drivers/net/bcm6368-eth.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2008 Maxime Bizon <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dma.h>
drivers/net/bnxt/bnxt.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2019-2021 Broadcom. */ -#include <common.h> #include <asm/io.h> #include <dm.h>
drivers/net/calxedaxgmac.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2010-2011 Calxeda, Inc. */ -#include <common.h> #include <malloc.h> #include <net.h> #include <linux/compiler.h>
drivers/net/cortina_ni.c +0 -1
@@ -7,7 +7,6 @@* Ethernet MAC Driver for all supported CAxxxx SoCs */ -#include <common.h> #include <command.h> #include <malloc.h> #include <net.h>
drivers/net/dc2114x.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <malloc.h>
drivers/net/designware.c +0 -1
@@ -8,7 +8,6 @@* Designware ethernet IP driver for U-Boot */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/net/dm9000x.c +0 -1
@@ -49,7 +49,6 @@* TODO: external MII is not functional, only internal at the moment. */ -#include <common.h> #include <command.h> #include <dm.h> #include <malloc.h>
drivers/net/dwc_eth_qos.c +0 -1
@@ -29,7 +29,6 @@#define LOG_CATEGORY UCLASS_ETH -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/net/dwc_eth_qos_imx.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2022 NXP */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/net/dwc_eth_qos_qcom.c +0 -1
@@ -5,7 +5,6 @@* Qcom DWMAC specific glue layer */ -#include <common.h> #include <asm/global_data.h> #include <asm/gpio.h> #include <asm/io.h>
drivers/net/dwc_eth_qos_rockchip.c +0 -1
@@ -8,7 +8,6 @@* part in order to simplify future porting of fixes and support for other SoCs. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/net/dwc_eth_qos_starfive.c +0 -1
@@ -4,7 +4,6 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> #include <asm/cache.h> #include <asm/gpio.h> #include <clk.h>
drivers/net/dwmac_meson8b.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2021 BayLibre, SAS */ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <phy.h>
drivers/net/dwmac_s700.c +0 -1
@@ -5,7 +5,6 @@* Actions DWMAC specific glue layer */ -#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <dm.h>
drivers/net/dwmac_socfpga.c +0 -1
@@ -5,7 +5,6 @@* Altera SoCFPGA EMAC extras */ -#include <common.h> #include <asm/arch/secure_reg_helper.h> #include <asm/arch/system_manager.h> #include <asm/io.h>
drivers/net/e1000.c +0 -1
@@ -29,7 +29,6 @@ tested on both gig copper and gig fiber boards* Copyright 2011 Freescale Semiconductor, Inc. */ -#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h>
drivers/net/e1000_spi.c +1 -1
@@ -1,9 +1,9 @@ -#include <common.h> #include <command.h> #include <console.h> #include <linux/delay.h> #include "e1000.h" #include <malloc.h> +#include <vsprintf.h> #include <linux/compiler.h> /*-----------------------------------------------------------------------
drivers/net/eepro100.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <asm/io.h> #include <cpu_func.h> #include <malloc.h>
drivers/net/eth-phy-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_ETH_PHY -#include <common.h> #include <dm.h> #include <log.h> #include <net.h>
drivers/net/ethoc.c +0 -1
@@ -9,7 +9,6 @@* Copyright (C) 2016 Cadence Design Systems Inc. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/net/fec_mxc.c +0 -1
@@ -7,7 +7,6 @@* (C) Copyright 2007 Pengutronix, Juergen Beisert <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <env.h>
drivers/net/fm/b4860.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2012 Freescale Semiconductor, Inc. * Roy Zang <[email protected]> */ -#include <common.h> +#include <config.h> #include <env.h> #include <phy.h> #include <fm_eth.h>
drivers/net/fm/dtsec.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2009-2011 Freescale Semiconductor, Inc. */ -#include <common.h> #include <asm/types.h> #include <asm/io.h> #include <fsl_dtsec.h>
drivers/net/fm/eth.c +1 -1
@@ -4,7 +4,7 @@* Copyright 2020 NXP * Dave Liu <[email protected]> */ -#include <common.h> +#include <config.h> #include <log.h> #include <part.h> #include <asm/io.h>
drivers/net/fm/ls1043.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2015 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/ls1046.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2016 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/memac.c +0 -1
@@ -7,7 +7,6 @@/* MAXFRM - maximum frame length */ #define MAXFRM_MASK 0x0000ffff -#include <common.h> #include <log.h> #include <phy.h> #include <asm/types.h>
drivers/net/fm/memac_phy.c +0 -1
@@ -5,7 +5,6 @@* Roy Zang <[email protected]> * Some part is taken from tsec.c */ -#include <common.h> #include <miiphy.h> #include <phy.h> #include <asm/io.h>
drivers/net/fm/p1023.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2011 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/p4080.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2011 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/p5020.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2011 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/p5040.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2011 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/t1024.c +1 -1
@@ -4,7 +4,7 @@* Shengzhou Liu <[email protected]> */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/immap_85xx.h>
drivers/net/fm/t1040.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/t2080.c +1 -1
@@ -5,7 +5,7 @@* Shengzhou Liu <[email protected]> */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/immap_85xx.h>
drivers/net/fm/t4240.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2012 Freescale Semiconductor, Inc. * Roy Zang <[email protected]> */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fm_eth.h> #include <asm/io.h>
drivers/net/fm/tgec.c +0 -1
@@ -7,7 +7,6 @@/* MAXFRM - maximum frame length */ #define MAXFRM_MASK 0x0000ffff -#include <common.h> #include <phy.h> #include <asm/types.h> #include <asm/io.h>
drivers/net/fm/tgec_phy.c +0 -1
@@ -4,7 +4,6 @@* Andy Fleming <[email protected]> * Some part is taken from tsec.c */ -#include <common.h> #include <miiphy.h> #include <phy.h> #include <asm/io.h>
drivers/net/fsl-mc/mc.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2014 Freescale Semiconductor, Inc. * Copyright 2017-2018, 2020-2021 NXP */ -#include <common.h> +#include <config.h> #include <command.h> #include <cpu_func.h> #include <env.h>
drivers/net/fsl-mc/mc_sys.c +0 -1
@@ -8,7 +8,6 @@#include <fsl-mc/fsl_mc_sys.h> #include <fsl-mc/fsl_mc_cmd.h> -#include <common.h> #include <errno.h> #include <asm/io.h> #include <linux/delay.h>
drivers/net/fsl_enetc.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2017-2021 NXP */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdt_support.h>
drivers/net/fsl_enetc_mdio.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2019 NXP */ -#include <common.h> #include <dm.h> #include <errno.h> #include <pci.h>
drivers/net/fsl_ls_mdio.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2020 NXP */ -#include <common.h> #include <dm.h> #include <errno.h> #include <miiphy.h>
drivers/net/fsl_mdio.c +0 -1
@@ -5,7 +5,6 @@* Mingkai Hu <[email protected]> */ -#include <common.h> #include <miiphy.h> #include <phy.h> #include <fsl_mdio.h>
drivers/net/ftgmac100.c +0 -1
@@ -11,7 +11,6 @@* Copyright (C) 2018, IBM Corporation. */ -#include <common.h> #include <clk.h> #include <reset.h> #include <cpu_func.h>
drivers/net/ftmac100.c +0 -1
@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <env.h> #include <malloc.h>
drivers/net/gmac_rockchip.c +0 -1
@@ -5,7 +5,6 @@* Rockchip GMAC ethernet IP driver for U-Boot */ -#include <common.h> #include <dm.h> #include <clk.h> #include <log.h>
drivers/net/higmacv300.c +0 -1
@@ -8,7 +8,6 @@#include <malloc.h> #include <asm/cache.h> #include <asm/io.h> -#include <common.h> #include <console.h> #include <linux/bitops.h> #include <linux/bug.h>
drivers/net/ks8851_mll.c +0 -1
@@ -6,7 +6,6 @@#include <log.h> #include <asm/io.h> -#include <common.h> #include <command.h> #include <malloc.h> #include <net.h>
drivers/net/ldpaa_eth/ldpaa_eth.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2017, 2023 NXP */ -#include <common.h> #include <cpu_func.h> #include <dm/device_compat.h> #include <fsl-mc/fsl_dpmac.h>
drivers/net/ldpaa_eth/ldpaa_wriop.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015 Freescale Semiconductor */ -#include <common.h> #include <asm/io.h> #include <asm/types.h> #include <malloc.h>
drivers/net/ldpaa_eth/ls1088a.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2017 NXP */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fsl-mc/ldpaa_wriop.h> #include <asm/io.h>
drivers/net/ldpaa_eth/ls2080a.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2015 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fsl-mc/ldpaa_wriop.h> #include <asm/io.h>
drivers/net/ldpaa_eth/lx2160a.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright 2018, 2020 NXP */ -#include <common.h> +#include <config.h> #include <phy.h> #include <fsl-mc/ldpaa_wriop.h> #include <asm/io.h>
drivers/net/macb.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright (C) 2005-2006 Atmel Corporation */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/net/mcffec.c +1 -1
@@ -10,7 +10,7 @@* (C) 2019 Angelo Dureghello <[email protected]> */ -#include <common.h> +#include <config.h> #include <env.h> #include <hang.h> #include <malloc.h>
drivers/net/mcfmii.c +0 -1
@@ -4,7 +4,6 @@* TsiChung Liew ([email protected]) */ -#include <common.h> #include <config.h> #include <net.h> #include <netdev.h>
drivers/net/mdio-ipq4019.c +0 -1
@@ -11,7 +11,6 @@*/ #include <asm/io.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/bitops.h>
drivers/net/mpc8xx_fec.c +0 -1
@@ -4,7 +4,6 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <command.h> #include <hang.h> #include <malloc.h>
drivers/net/mscc_eswitch/jr2_switch.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> #include <config.h> #include <dm.h> #include <malloc.h>
drivers/net/mscc_eswitch/luton_switch.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2019 Microsemi Corporation */ -#include <common.h> #include <config.h> #include <dm.h> #include <malloc.h>
drivers/net/mscc_eswitch/ocelot_switch.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> #include <config.h> #include <dm.h> #include <log.h>
drivers/net/mscc_eswitch/serval_switch.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2019 Microsemi Corporation */ -#include <common.h> #include <config.h> #include <dm.h> #include <log.h>
drivers/net/mscc_eswitch/servalt_switch.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2019 Microsemi Corporation */ -#include <common.h> #include <config.h> #include <dm.h> #include <malloc.h>
drivers/net/mt7628-eth.c +0 -1
@@ -13,7 +13,6 @@* copyrights here, so I can't add them here. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/net/mtk_eth.c +0 -1
@@ -6,7 +6,6 @@* Author: Mark Lee <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/net/mv88e6xxx.c +0 -1
@@ -23,7 +23,6 @@* on the mv88e6176 via an SGMII interface. */ -#include <common.h> #include <dm/device.h> #include <dm/device_compat.h> #include <dm/device-internal.h>
drivers/net/mvgbe.c +0 -1
@@ -11,7 +11,6 @@* Copyright (C) 2002 [email protected] */ -#include <common.h> #include <dm.h> #include <log.h> #include <net.h>
drivers/net/mvmdio.c +0 -1
@@ -4,7 +4,6 @@* Author: Ken Ma<[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/lists.h>
drivers/net/mvneta.c +0 -1
@@ -12,7 +12,6 @@* Thomas Petazzoni <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/net/mvpp2.c +0 -1
@@ -13,7 +13,6 @@* warranty of any kind, whether express or implied. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <asm/cache.h>
drivers/net/netconsole.c +1 -1
@@ -4,12 +4,12 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <command.h> #include <env.h> #include <log.h> #include <stdio_dev.h> #include <net.h> +#include <vsprintf.h> #ifndef CFG_NETCONSOLE_BUFFER_SIZE #define CFG_NETCONSOLE_BUFFER_SIZE 512
drivers/net/npcm750_eth.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h>
drivers/net/pch_gbe.c +0 -1
@@ -5,7 +5,6 @@* Intel Platform Controller Hub EG20T (codename Topcliff) GMAC Driver */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h>
drivers/net/pcnet.c +0 -1
@@ -6,7 +6,6 @@* Linux driver pcnet32.c written 1996-1999 by Thomas Bogendoerfer. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/net/pfe_eth/pfe_cmd.c +0 -1
@@ -9,7 +9,6 @@* @brief PFE utility commands */ -#include <common.h> #include <command.h> #include <log.h> #include <linux/delay.h>
drivers/net/pfe_eth/pfe_eth.c +1 -1
@@ -4,7 +4,7 @@* Copyright 2017 NXP */ -#include <common.h> +#include <config.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/net/pfe_eth/pfe_mdio.c +1 -1
@@ -3,7 +3,7 @@* Copyright 2015-2016 Freescale Semiconductor, Inc. * Copyright 2017 NXP */ -#include <common.h> +#include <config.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/net/phy/adin.c +0 -1
@@ -6,7 +6,6 @@* Copyright 2022 Variscite Ltd. * Copyright 2022 Josua Mayer <[email protected]> */ -#include <common.h> #include <phy.h> #include <linux/bitops.h> #include <linux/bitfield.h>
drivers/net/phy/aquantia.c +0 -1
@@ -6,7 +6,6 @@* Copyright 2018, 2021 NXP */ #include <config.h> -#include <common.h> #include <dm.h> #include <log.h> #include <net.h>
drivers/net/phy/atheros.c +0 -1
@@ -6,7 +6,6 @@* author Andy Fleming * Copyright (c) 2019 Michael Walle <[email protected]> */ -#include <common.h> #include <phy.h> #include <dm/device_compat.h> #include <linux/bitfield.h>
drivers/net/phy/b53.c +0 -1
@@ -22,7 +22,6 @@* cover other switches would be trivial. */ -#include <common.h> #include <command.h> #include <linux/bitops.h> #include <linux/delay.h>
drivers/net/phy/broadcom.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2010-2011 Freescale Semiconductor, Inc. * author Andy Fleming */ -#include <common.h> #include <phy.h> #include <linux/delay.h>
drivers/net/phy/ca_phy.c +0 -1
@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <malloc.h> #include <linux/ctype.h>
drivers/net/phy/cortina.c +0 -1
@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <malloc.h> #include <linux/ctype.h>
drivers/net/phy/davicom.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2010-2011 Freescale Semiconductor, Inc. * author Andy Fleming */ -#include <common.h> #include <phy.h> #define MIIM_DM9161_SCR 0x10
drivers/net/phy/dp83867.c +0 -1
@@ -3,7 +3,6 @@* TI PHY drivers * */ -#include <common.h> #include <log.h> #include <phy.h> #include <dm/devres.h>
drivers/net/phy/dp83869.c +0 -1
@@ -4,7 +4,6 @@* */ -#include <common.h> #include <phy.h> #include <linux/compat.h> #include <malloc.h>
drivers/net/phy/ethernet_id.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2022 Xilinx, Inc. */ -#include <common.h> #include <dm/device_compat.h> #include <dm/device-internal.h> #include <dm/lists.h>
drivers/net/phy/fixed.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <malloc.h> #include <phy.h> #include <dm.h>
drivers/net/phy/generic_10g.c +0 -1
@@ -7,7 +7,6 @@* * Based loosely off of Linux's PHY Lib */ -#include <common.h> #include <miiphy.h> #include <phy.h>
drivers/net/phy/intel_xway.c +0 -1
@@ -1,5 +1,4 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <phy.h> #include <linux/bitfield.h>
drivers/net/phy/lxt.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2010-2011 Freescale Semiconductor, Inc. * author Andy Fleming */ -#include <common.h> #include <phy.h> /* LXT971 Status 2 registers */
drivers/net/phy/marvell.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2010-2011 Freescale Semiconductor, Inc. * author Andy Fleming */ -#include <common.h> #include <errno.h> #include <marvell_phy.h> #include <phy.h>
drivers/net/phy/marvell10g.c +0 -1
@@ -22,7 +22,6 @@* If both the fiber and copper ports are connected, the first to gain * link takes priority and the other port is completely locked out. */ -#include <common.h> #include <console.h> #include <dm/device_compat.h> #include <dm/devres.h>
drivers/net/phy/meson-gxl.c +0 -1
@@ -7,7 +7,6 @@* Author: Neil Armstrong <[email protected]> */ #include <config.h> -#include <common.h> #include <linux/bitops.h> #include <dm.h> #include <phy.h>
drivers/net/phy/micrel_ksz8xxx.c +0 -1
@@ -6,7 +6,6 @@* author Andy Fleming * (C) 2012 NetModule AG, David Andrey, added KSZ9031 */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/net/phy/micrel_ksz90x1.c +0 -1
@@ -8,7 +8,6 @@* (C) Copyright 2017 Adaptrum, Inc. * Written by Alexandru Gagniuc <[email protected]> for Adaptrum, Inc. */ -#include <common.h> #include <dm.h> #include <env.h> #include <errno.h>
drivers/net/phy/miiphybb.c +0 -1
@@ -12,7 +12,6 @@* channel. */ -#include <common.h> #include <ioports.h> #include <ppc_asm.tmpl> #include <miiphy.h>
drivers/net/phy/motorcomm.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <malloc.h> #include <phy.h> #include <linux/bitfield.h>
drivers/net/phy/mv88e61xx.c +0 -1
@@ -29,7 +29,6 @@* changes may be required. */ -#include <common.h> #include <log.h> #include <linux/bitops.h> #include <linux/delay.h>
drivers/net/phy/mv88e6352.c +0 -1
@@ -4,7 +4,6 @@* Valentin Lontgchamp, Keymile AG, [email protected] */ -#include <common.h> #include <command.h> #include <log.h> #include <miiphy.h>
drivers/net/phy/natsemi.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2010-2011 Freescale Semiconductor, Inc. * author Andy Fleming */ -#include <common.h> #include <phy.h> /* NatSemi DP83630 */
drivers/net/phy/ncsi.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2019, IBM Corporation. */ -#include <common.h> #include <log.h> #include <malloc.h> #include <phy.h>
drivers/net/phy/nxp-c45-tja11xx.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2021 NXP * Author: Radu Pirea <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/devres.h> #include <linux/delay.h>
drivers/net/phy/nxp-tja11xx.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2018 Marek Vasut <[email protected]> */ -#include <common.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/iopoll.h>
drivers/net/phy/phy.c +0 -1
@@ -7,7 +7,6 @@* * Based loosely off of Linux's PHY Lib */ -#include <common.h> #include <console.h> #include <dm.h> #include <log.h>
drivers/net/phy/realtek.c +0 -1
@@ -6,7 +6,6 @@* author Andy Fleming * Copyright 2016 Karsten Merker <[email protected]> */ -#include <common.h> #include <linux/bitops.h> #include <phy.h> #include <linux/delay.h>
drivers/net/phy/smsc.c +0 -1
@@ -9,7 +9,6 @@* Some code copied from linux kernel * Copyright (c) 2006 Herbert Valerio Riedel <[email protected]> */ -#include <common.h> #include <miiphy.h> /* This code does not check the partner abilities. */
drivers/net/phy/teranetics.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2010-2011 Freescale Semiconductor, Inc. * author Andy Fleming */ -#include <common.h> #include <phy.h> #include <linux/delay.h>
drivers/net/phy/vitesse.c +0 -1
@@ -6,7 +6,6 @@* Original Author: Andy Fleming * Add vsc8662 phy support - Priyanka Jain */ -#include <common.h> #include <miiphy.h> /* Cicada Auxiliary Control/Status Register */
drivers/net/phy/xilinx_gmii2rgmii.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2018 Xilinx, Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <phy.h>
drivers/net/phy/xilinx_phy.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <phy.h> #include <dm.h>
drivers/net/pic32_eth.c +0 -1
@@ -3,7 +3,6 @@* (c) 2015 Purna Chandra Mandal <[email protected]> * */ -#include <common.h> #include <cpu_func.h> #include <errno.h> #include <dm.h>
drivers/net/pic32_mdio.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2015 Microchip Inc. * Purna Chandra Mandal <[email protected]> */ -#include <common.h> #include <phy.h> #include <miiphy.h> #include <errno.h>
drivers/net/qe/dm_qe_uec.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2020 Heiko Schocher <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <memalign.h>
drivers/net/qe/dm_qe_uec_phy.c +0 -1
@@ -8,7 +8,6 @@* Copyright (C) 2020 Heiko Schocher <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <miiphy.h>
drivers/net/qe/uccf.c +1 -0
@@ -7,6 +7,7 @@*/ #include <malloc.h> +#include <stdio.h> #include <linux/errno.h> #include <asm/io.h> #include <linux/immap_qe.h>
drivers/net/qe/uccf.h +2 -2
@@ -9,8 +9,8 @@#ifndef __UCCF_H__#define __UCCF_H__ -#include "common.h" -#include "linux/immap_qe.h" +#include <linux/types.h> +#include <linux/immap_qe.h> #include <fsl_qe.h> /* Fast or Giga ethernet */
drivers/net/ravb.c +0 -1
@@ -8,7 +8,6 @@* Based on the SuperH Ethernet driver. */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/net/rswitch.c +0 -1
@@ -9,7 +9,6 @@#include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/device_compat.h>
drivers/net/rtl8139.c +0 -1
@@ -68,7 +68,6 @@* */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/net/rtl8169.c +0 -1
@@ -39,7 +39,6 @@* 26 August 2006 Mihai Georgian <[email protected]> * Modified to use le32_to_cpu and cpu_to_le32 properly */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h>
drivers/net/sandbox-raw-bus.c +0 -1
@@ -4,7 +4,6 @@* Copyright (c) 2018 Joe Hershberger <[email protected]> */ -#include <common.h> #include <asm/eth-raw-os.h> #include <dm.h> #include <errno.h>
drivers/net/sandbox-raw.c +0 -1
@@ -8,7 +8,6 @@#include <log.h> #include <asm/eth-raw-os.h> -#include <common.h> #include <dm.h> #include <env.h> #include <malloc.h>
drivers/net/sandbox.c +0 -1
@@ -6,7 +6,6 @@* Joe Hershberger <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/net/sh_eth.c +0 -1
@@ -9,7 +9,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <env.h> #include <log.h>
drivers/net/sja1105.c +0 -1
@@ -8,7 +8,6 @@* Ported from Linux (drivers/net/dsa/sja1105/). */ -#include <common.h> #include <dm/device_compat.h> #include <linux/bitops.h> #include <linux/bitrev.h>
drivers/net/smc911x.c +0 -1
@@ -5,7 +5,6 @@* (c) 2007 Pengutronix, Sascha Hauer <[email protected]> */ -#include <common.h> #include <command.h> #include <malloc.h> #include <net.h>
drivers/net/sun8i_emac.c +0 -1
@@ -16,7 +16,6 @@#include <asm/global_data.h> #include <asm/gpio.h> #include <asm/io.h> -#include <common.h> #include <clk.h> #include <dm.h> #include <fdt_support.h>
drivers/net/sunxi_emac.c +0 -1
@@ -5,7 +5,6 @@* (C) Copyright 2012, Stefan Roese <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/net/ti/am65-cpsw-nuss.c +0 -1
@@ -6,7 +6,6 @@* */ -#include <common.h> #include <malloc.h> #include <asm/cache.h> #include <asm/gpio.h>
drivers/net/ti/cpsw-common.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2016, Texas Instruments, Incorporated */ -#include <common.h> #include <dm.h> #include <fdt_support.h> #include <asm/global_data.h>
drivers/net/ti/cpsw.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2010-2018 Texas Instruments Incorporated - https://www.ti.com/ */ -#include <common.h> #include <command.h> #include <cpu_func.h> #include <log.h>
drivers/net/ti/cpsw_mdio.c +0 -1
@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <dm/device_compat.h> #include <log.h> #include <malloc.h>
drivers/net/ti/davinci_emac.c +1 -1
@@ -21,7 +21,7 @@* ver. 1.0: Sep 2005, Anant Gole - Created EMAC version for uBoot. * ver 1.1: Nov 2005, Anant Gole - Extended the RX logic for multiple descriptors */ -#include <common.h> +#include <config.h> #include <command.h> #include <cpu_func.h> #include <log.h>
drivers/net/ti/keystone_net.c +0 -1
@@ -5,7 +5,6 @@* (C) Copyright 2012-2014 * Texas Instruments Incorporated, <www.ti.com> */ -#include <common.h> #include <command.h> #include <console.h> #include <asm/global_data.h>
drivers/net/tsec.c +0 -1
@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <malloc.h> #include <net.h>
drivers/net/vsc7385.c +0 -1
@@ -13,7 +13,6 @@*/ #include <config.h> -#include <common.h> #include <console.h> #include <log.h> #include <asm/io.h>
drivers/net/xilinx_axi_emac.c +0 -1
@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <display_options.h> #include <dm.h>
drivers/net/xilinx_axi_mrmac.c +0 -1
@@ -9,7 +9,6 @@*/ #include <config.h> -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/net/xilinx_emaclite.c +0 -1
@@ -6,7 +6,6 @@* Michal SIMEK <[email protected]> */ -#include <common.h> #include <log.h> #include <net.h> #include <config.h>
drivers/net/zynq_gem.c +0 -1
@@ -9,7 +9,6 @@*/ #include <clk.h> -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <generic-phy.h>
Signature · 1 line
2.34.1