diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-01 19:30:50 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-07 08:00:55 -0600 |
commit | 6657851f83288e63a966f6cae66e85dea229023b (patch) | |
tree | c78e8ca6971c0091d80a90b7e6f4ab6c68d826d6 /drivers | |
parent | 11657706b1c4918a17d1d01881fa55df8bb01ae6 (diff) | |
download | u-boot-6657851f83288e63a966f6cae66e85dea229023b.zip u-boot-6657851f83288e63a966f6cae66e85dea229023b.tar.gz u-boot-6657851f83288e63a966f6cae66e85dea229023b.tar.bz2 |
gpio: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed
add missing include files directly.
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
63 files changed, 3 insertions, 63 deletions
diff --git a/drivers/gpio/74x164_gpio.c b/drivers/gpio/74x164_gpio.c index 7a7cfe8..331428c 100644 --- a/drivers/gpio/74x164_gpio.c +++ b/drivers/gpio/74x164_gpio.c @@ -8,7 +8,6 @@ * */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> diff --git a/drivers/gpio/altera_pio.c b/drivers/gpio/altera_pio.c index edc5a80..7ba1595 100644 --- a/drivers/gpio/altera_pio.c +++ b/drivers/gpio/altera_pio.c @@ -4,7 +4,6 @@ * Copyright (C) 2011 Missing Link Electronics * Joachim Foerster <joachim@missinglinkelectronics.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> diff --git a/drivers/gpio/at91_gpio.c b/drivers/gpio/at91_gpio.c index f80f4af..50a6981 100644 --- a/drivers/gpio/at91_gpio.c +++ b/drivers/gpio/at91_gpio.c @@ -8,7 +8,6 @@ */ #include <config.h> -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> diff --git a/drivers/gpio/atmel_pio4.c b/drivers/gpio/atmel_pio4.c index be1dd75..65d064b 100644 --- a/drivers/gpio/atmel_pio4.c +++ b/drivers/gpio/atmel_pio4.c @@ -5,7 +5,6 @@ * Copyright (C) 2015 Atmel Corporation * Wenyou.Yang <wenyou.yang@atmel.com> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> diff --git a/drivers/gpio/axp_gpio.c b/drivers/gpio/axp_gpio.c index af66316..6e632c8 100644 --- a/drivers/gpio/axp_gpio.c +++ b/drivers/gpio/axp_gpio.c @@ -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> diff --git a/drivers/gpio/bcm2835_gpio.c b/drivers/gpio/bcm2835_gpio.c index 704a6fa..ccf84fd 100644 --- a/drivers/gpio/bcm2835_gpio.c +++ b/drivers/gpio/bcm2835_gpio.c @@ -4,7 +4,6 @@ * <vikram186@gmail.com> */ -#include <common.h> #include <dm.h> #include <dm/pinctrl.h> #include <errno.h> diff --git a/drivers/gpio/bcm6345_gpio.c b/drivers/gpio/bcm6345_gpio.c index e031f71..e76c84e 100644 --- a/drivers/gpio/bcm6345_gpio.c +++ b/drivers/gpio/bcm6345_gpio.c @@ -7,7 +7,6 @@ * Copyright (C) 2008-2011 Florian Fainelli <florian@openwrt.org> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/gpio.h> diff --git a/drivers/gpio/cortina_gpio.c b/drivers/gpio/cortina_gpio.c index 72ef523..e0ea14c 100644 --- a/drivers/gpio/cortina_gpio.c +++ b/drivers/gpio/cortina_gpio.c @@ -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> diff --git a/drivers/gpio/da8xx_gpio.c b/drivers/gpio/da8xx_gpio.c index b310f2d..1ccb9e6 100644 --- a/drivers/gpio/da8xx_gpio.c +++ b/drivers/gpio/da8xx_gpio.c @@ -6,7 +6,6 @@ * Laurence Withers <lwithers@guralp.com> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <malloc.h> diff --git a/drivers/gpio/ftgpio010.c b/drivers/gpio/ftgpio010.c index 6c091d4..4cb550a 100644 --- a/drivers/gpio/ftgpio010.c +++ b/drivers/gpio/ftgpio010.c @@ -3,7 +3,6 @@ * Faraday Technology's FTGPIO010 controller. */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c index 1c3d187..c5608f4 100644 --- a/drivers/gpio/gpio-aspeed.c +++ b/drivers/gpio/gpio-aspeed.c @@ -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> diff --git a/drivers/gpio/gpio-fxl6408.c b/drivers/gpio/gpio-fxl6408.c index ca7aa14..c8d2dff 100644 --- a/drivers/gpio/gpio-fxl6408.c +++ b/drivers/gpio/gpio-fxl6408.c @@ -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> diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index 7077850..d1a3993 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/drivers/gpio/gpio-rcar.c @@ -3,7 +3,6 @@ * Copyright (C) 2017 Marek Vasut <marek.vasut@gmail.com> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> diff --git a/drivers/gpio/gpio-rza1.c b/drivers/gpio/gpio-rza1.c index f14be87..8c3fe61 100644 --- a/drivers/gpio/gpio-rza1.c +++ b/drivers/gpio/gpio-rza1.c @@ -3,7 +3,6 @@ * Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index 4234cd9..92ce68d 100644 --- a/drivers/gpio/gpio-uclass.c +++ b/drivers/gpio/gpio-uclass.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <log.h> diff --git a/drivers/gpio/gpio-uniphier.c b/drivers/gpio/gpio-uniphier.c index 61c705b..033fb4b 100644 --- a/drivers/gpio/gpio-uniphier.c +++ b/drivers/gpio/gpio-uniphier.c @@ -4,7 +4,6 @@ * Author: Masahiro Yamada <yamada.masahiro@socionext.com> */ -#include <common.h> #include <dm.h> #include <linux/bitops.h> #include <linux/io.h> diff --git a/drivers/gpio/gpio_slg7xl45106.c b/drivers/gpio/gpio_slg7xl45106.c index 4ad06c1..a7c9ff5 100644 --- a/drivers/gpio/gpio_slg7xl45106.c +++ b/drivers/gpio/gpio_slg7xl45106.c @@ -5,7 +5,6 @@ * Copyright (C) 2021 Xilinx, Inc. */ -#include <common.h> #include <errno.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/drivers/gpio/hi6220_gpio.c b/drivers/gpio/hi6220_gpio.c index e287c31..7ceb5f4 100644 --- a/drivers/gpio/hi6220_gpio.c +++ b/drivers/gpio/hi6220_gpio.c @@ -4,7 +4,6 @@ * Peter Griffin <peter.griffin@linaro.org> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/drivers/gpio/hsdk-creg-gpio.c b/drivers/gpio/hsdk-creg-gpio.c index 66f8441..734b31d 100644 --- a/drivers/gpio/hsdk-creg-gpio.c +++ b/drivers/gpio/hsdk-creg-gpio.c @@ -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> diff --git a/drivers/gpio/imx_rgpio2p.c b/drivers/gpio/imx_rgpio2p.c index 3227a8d..fc1d418 100644 --- a/drivers/gpio/imx_rgpio2p.c +++ b/drivers/gpio/imx_rgpio2p.c @@ -5,7 +5,6 @@ * RGPIO2P driver for the Freescale i.MX7ULP. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/intel_broadwell_gpio.c b/drivers/gpio/intel_broadwell_gpio.c index 20af35d..53ed0a3 100644 --- a/drivers/gpio/intel_broadwell_gpio.c +++ b/drivers/gpio/intel_broadwell_gpio.c @@ -3,7 +3,6 @@ * Copyright (c) 2012 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/intel_gpio.c b/drivers/gpio/intel_gpio.c index 4a3ec6d..0ab6e8a 100644 --- a/drivers/gpio/intel_gpio.c +++ b/drivers/gpio/intel_gpio.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/intel_ich6_gpio.c b/drivers/gpio/intel_ich6_gpio.c index 2ed0d0b..096bc3b 100644 --- a/drivers/gpio/intel_ich6_gpio.c +++ b/drivers/gpio/intel_ich6_gpio.c @@ -28,7 +28,6 @@ #define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/iproc_gpio.c b/drivers/gpio/iproc_gpio.c index 7187d32..8688f12 100644 --- a/drivers/gpio/iproc_gpio.c +++ b/drivers/gpio/iproc_gpio.c @@ -3,7 +3,6 @@ * Copyright (C) 2020 Broadcom */ -#include <common.h> #include <errno.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/drivers/gpio/kw_gpio.c b/drivers/gpio/kw_gpio.c index a157697..e183f55 100644 --- a/drivers/gpio/kw_gpio.c +++ b/drivers/gpio/kw_gpio.c @@ -12,7 +12,6 @@ * Dieter Kiermaier dk-arm-linux@gmx.de */ -#include <common.h> #include <linux/bitops.h> #include <asm/io.h> #include <asm/arch/soc.h> diff --git a/drivers/gpio/lpc32xx_gpio.c b/drivers/gpio/lpc32xx_gpio.c index de66c76..2b537e0 100644 --- a/drivers/gpio/lpc32xx_gpio.c +++ b/drivers/gpio/lpc32xx_gpio.c @@ -6,7 +6,6 @@ * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr> */ -#include <common.h> #include <asm/io.h> #include <asm/arch-lpc32xx/cpu.h> #include <asm/arch-lpc32xx/gpio.h> diff --git a/drivers/gpio/max7320_gpio.c b/drivers/gpio/max7320_gpio.c index 647aed9..f733cc9 100644 --- a/drivers/gpio/max7320_gpio.c +++ b/drivers/gpio/max7320_gpio.c @@ -7,7 +7,6 @@ * */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <asm-generic/gpio.h> diff --git a/drivers/gpio/mcp230xx_gpio.c b/drivers/gpio/mcp230xx_gpio.c index df99fde..42e7fe9 100644 --- a/drivers/gpio/mcp230xx_gpio.c +++ b/drivers/gpio/mcp230xx_gpio.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <errno.h> #include <dm.h> #include <i2c.h> diff --git a/drivers/gpio/mpc83xx_spisel_boot.c b/drivers/gpio/mpc83xx_spisel_boot.c index fd26a36..2be8c73 100644 --- a/drivers/gpio/mpc83xx_spisel_boot.c +++ b/drivers/gpio/mpc83xx_spisel_boot.c @@ -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> diff --git a/drivers/gpio/mpc8xx_gpio.c b/drivers/gpio/mpc8xx_gpio.c index 2f65346..e2b12f8 100644 --- a/drivers/gpio/mpc8xx_gpio.c +++ b/drivers/gpio/mpc8xx_gpio.c @@ -10,7 +10,6 @@ * Copyright 2010 eXMeritus, A Boeing Company */ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <mapmem.h> diff --git a/drivers/gpio/mpc8xxx_gpio.c b/drivers/gpio/mpc8xxx_gpio.c index f7ffd89..e9bd38f 100644 --- a/drivers/gpio/mpc8xxx_gpio.c +++ b/drivers/gpio/mpc8xxx_gpio.c @@ -9,7 +9,6 @@ * Copyright 2020-2021 NXP */ -#include <common.h> #include <dm.h> #include <mapmem.h> #include <asm/gpio.h> diff --git a/drivers/gpio/mscc_sgpio.c b/drivers/gpio/mscc_sgpio.c index c97e440..5a40304 100644 --- a/drivers/gpio/mscc_sgpio.c +++ b/drivers/gpio/mscc_sgpio.c @@ -7,7 +7,6 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> #include <dm.h> #include <log.h> #include <asm/gpio.h> diff --git a/drivers/gpio/msm_gpio.c b/drivers/gpio/msm_gpio.c index f5d9ab5..2fb266f 100644 --- a/drivers/gpio/msm_gpio.c +++ b/drivers/gpio/msm_gpio.c @@ -5,7 +5,6 @@ * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/global_data.h> diff --git a/drivers/gpio/mt7621_gpio.c b/drivers/gpio/mt7621_gpio.c index 43bb4df..63a2023 100644 --- a/drivers/gpio/mt7621_gpio.c +++ b/drivers/gpio/mt7621_gpio.c @@ -7,7 +7,6 @@ * Copyright (C) 2013 John Crispin <blogic@openwrt.org> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/mvebu_gpio.c b/drivers/gpio/mvebu_gpio.c index f706a6d..0d82380 100644 --- a/drivers/gpio/mvebu_gpio.c +++ b/drivers/gpio/mvebu_gpio.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <dm.h> #include <dm/pinctrl.h> #include <asm/gpio.h> diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index 1dec4e3..cac6b32 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -6,7 +6,6 @@ * Copyright (C) 2011 * Stefano Babic, DENX Software Engineering, <sbabic@denx.de> */ -#include <common.h> #include <errno.h> #include <dm.h> #include <malloc.h> diff --git a/drivers/gpio/mxs_gpio.c b/drivers/gpio/mxs_gpio.c index 1356f89..80910c9 100644 --- a/drivers/gpio/mxs_gpio.c +++ b/drivers/gpio/mxs_gpio.c @@ -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> diff --git a/drivers/gpio/nmk_gpio.c b/drivers/gpio/nmk_gpio.c index e1bb41b..c2716e7 100644 --- a/drivers/gpio/nmk_gpio.c +++ b/drivers/gpio/nmk_gpio.c @@ -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> diff --git a/drivers/gpio/npcm_gpio.c b/drivers/gpio/npcm_gpio.c index 98e5dc7..da3b3ff 100644 --- a/drivers/gpio/npcm_gpio.c +++ b/drivers/gpio/npcm_gpio.c @@ -3,7 +3,6 @@ * Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <linux/io.h> diff --git a/drivers/gpio/nx_gpio.c b/drivers/gpio/nx_gpio.c index e2565d7..741b2ff 100644 --- a/drivers/gpio/nx_gpio.c +++ b/drivers/gpio/nx_gpio.c @@ -4,7 +4,6 @@ * DeokJin, Lee <truevirtue@nexell.co.kr> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c index 50c4f75..1aceafc 100644 --- a/drivers/gpio/omap_gpio.c +++ b/drivers/gpio/omap_gpio.c @@ -17,7 +17,6 @@ * Copyright (C) 2003-2005 Nokia Corporation * Written by Juha Yrjölä <juha.yrjola@nokia.com> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <asm/global_data.h> diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c index b5ed352..fc4dcf9 100644 --- a/drivers/gpio/pca953x.c +++ b/drivers/gpio/pca953x.c @@ -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 diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c index b0c66d1..80ebaad 100644 --- a/drivers/gpio/pca953x_gpio.c +++ b/drivers/gpio/pca953x_gpio.c @@ -18,7 +18,6 @@ * 2. Support Polarity Inversion */ -#include <common.h> #include <errno.h> #include <dm.h> #include <fdtdec.h> diff --git a/drivers/gpio/pcf8575_gpio.c b/drivers/gpio/pcf8575_gpio.c index f38e215..10ae86e 100644 --- a/drivers/gpio/pcf8575_gpio.c +++ b/drivers/gpio/pcf8575_gpio.c @@ -17,7 +17,6 @@ * */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> diff --git a/drivers/gpio/pic32_gpio.c b/drivers/gpio/pic32_gpio.c index 975a2af..d8edfef 100644 --- a/drivers/gpio/pic32_gpio.c +++ b/drivers/gpio/pic32_gpio.c @@ -4,7 +4,6 @@ * Purna Chandra Mandal <purna.mandal@microchip.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h> diff --git a/drivers/gpio/qcom_pmic_gpio.c b/drivers/gpio/qcom_pmic_gpio.c index 0dd3434..80fee84 100644 --- a/drivers/gpio/qcom_pmic_gpio.c +++ b/drivers/gpio/qcom_pmic_gpio.c @@ -5,7 +5,6 @@ * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/lists.h> diff --git a/drivers/gpio/qe_gpio.c b/drivers/gpio/qe_gpio.c index 16e8d1e..ac6e682 100644 --- a/drivers/gpio/qe_gpio.c +++ b/drivers/gpio/qe_gpio.c @@ -4,7 +4,6 @@ * Christophe Leroy <christophe.leroy@csgroup.eu> */ -#include <common.h> #include <dm.h> #include <mapmem.h> #include <asm/gpio.h> diff --git a/drivers/gpio/rk_gpio.c b/drivers/gpio/rk_gpio.c index 2e901ac..24ba12d 100644 --- a/drivers/gpio/rk_gpio.c +++ b/drivers/gpio/rk_gpio.c @@ -6,7 +6,6 @@ * Peter, Software Engineering, <superpeter.cai@gmail.com>. */ -#include <common.h> #include <dm.h> #include <syscon.h> #include <linux/errno.h> diff --git a/drivers/gpio/s5p_gpio.c b/drivers/gpio/s5p_gpio.c index 06ed585..83e65aa 100644 --- a/drivers/gpio/s5p_gpio.c +++ b/drivers/gpio/s5p_gpio.c @@ -4,7 +4,6 @@ * Minkyu Kang <mk7.kang@samsung.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/sandbox.c b/drivers/gpio/sandbox.c index 305f9a6..f5be278 100644 --- a/drivers/gpio/sandbox.c +++ b/drivers/gpio/sandbox.c @@ -3,7 +3,6 @@ * Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> diff --git a/drivers/gpio/sandbox_test.c b/drivers/gpio/sandbox_test.c index c76e199..4699a97 100644 --- a/drivers/gpio/sandbox_test.c +++ b/drivers/gpio/sandbox_test.c @@ -5,7 +5,6 @@ * Copyright 2021 Google LLC */ -#include <common.h> #include <dm.h> #include <asm-generic/gpio.h> diff --git a/drivers/gpio/sh_pfc.c b/drivers/gpio/sh_pfc.c index 2495d6c..9f6051c 100644 --- a/drivers/gpio/sh_pfc.c +++ b/drivers/gpio/sh_pfc.c @@ -9,7 +9,6 @@ * for more details. */ -#include <common.h> #include <log.h> #include <malloc.h> #include <asm/bitops.h> diff --git a/drivers/gpio/sifive-gpio.c b/drivers/gpio/sifive-gpio.c index 151f484..90f5912 100644 --- a/drivers/gpio/sifive-gpio.c +++ b/drivers/gpio/sifive-gpio.c @@ -5,7 +5,6 @@ * Copyright (C) 2019 SiFive, Inc. */ -#include <common.h> #include <dm.h> #include <asm/arch/gpio.h> #include <asm/io.h> diff --git a/drivers/gpio/sl28cpld-gpio.c b/drivers/gpio/sl28cpld-gpio.c index 700fc3d..e85f926 100644 --- a/drivers/gpio/sl28cpld-gpio.c +++ b/drivers/gpio/sl28cpld-gpio.c @@ -5,7 +5,6 @@ * Copyright (c) 2021 Michael Walle <michael@walle.cc> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <sl28cpld.h> diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index 7a2ca91..b8eb554 100644 --- a/drivers/gpio/stm32_gpio.c +++ b/drivers/gpio/stm32_gpio.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_GPIO -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> diff --git a/drivers/gpio/sunxi_gpio.c b/drivers/gpio/sunxi_gpio.c index e4463a2..5e86474 100644 --- a/drivers/gpio/sunxi_gpio.c +++ b/drivers/gpio/sunxi_gpio.c @@ -9,7 +9,6 @@ * Tom Cubie <tangliang@allwinnertech.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/tca642x.c b/drivers/gpio/tca642x.c index b07496e..1d45b50 100644 --- a/drivers/gpio/tca642x.c +++ b/drivers/gpio/tca642x.c @@ -20,7 +20,7 @@ * MA 02111-1307 USA */ -#include <common.h> +#include <config.h> #include <command.h> #include <i2c.h> #include <tca642x.h> diff --git a/drivers/gpio/tegra186_gpio.c b/drivers/gpio/tegra186_gpio.c index 94a20d1..01b8245 100644 --- a/drivers/gpio/tegra186_gpio.c +++ b/drivers/gpio/tegra186_gpio.c @@ -4,7 +4,6 @@ * (based on tegra_gpio.c) */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <errno.h> diff --git a/drivers/gpio/tegra_gpio.c b/drivers/gpio/tegra_gpio.c index 55105f2..0c40d36 100644 --- a/drivers/gpio/tegra_gpio.c +++ b/drivers/gpio/tegra_gpio.c @@ -10,7 +10,6 @@ * Tom Warren (twarren@nvidia.com) */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> diff --git a/drivers/gpio/vybrid_gpio.c b/drivers/gpio/vybrid_gpio.c index 339392d..5b4bba9 100644 --- a/drivers/gpio/vybrid_gpio.c +++ b/drivers/gpio/vybrid_gpio.c @@ -4,7 +4,6 @@ * Bhuvanchandra DV, Toradex, Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> diff --git a/drivers/gpio/xilinx_gpio.c b/drivers/gpio/xilinx_gpio.c index fa8d630..c0a9237 100644 --- a/drivers/gpio/xilinx_gpio.c +++ b/drivers/gpio/xilinx_gpio.c @@ -3,7 +3,6 @@ * Copyright (c) 2013 - 2018 Xilinx, Michal Simek */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c index 71a5612..7db58c7 100644 --- a/drivers/gpio/zynq_gpio.c +++ b/drivers/gpio/zynq_gpio.c @@ -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> diff --git a/drivers/gpio/zynqmp_gpio_modepin.c b/drivers/gpio/zynqmp_gpio_modepin.c index e9565ff..8aaffaf 100644 --- a/drivers/gpio/zynqmp_gpio_modepin.c +++ b/drivers/gpio/zynqmp_gpio_modepin.c @@ -5,7 +5,6 @@ * Copyright (C) 2021 Xilinx, Inc. */ -#include <common.h> #include <errno.h> #include <asm/io.h> #include <asm/gpio.h> |