diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-01 19:30:58 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-07 08:00:55 -0600 |
commit | 4fa7521f66188b3fd5909de7a84d00492c7c32b5 (patch) | |
tree | 8f4f7e027d6b53f124dad82431da5e5cfeb8fbcb /drivers | |
parent | c199f372cca046fac0ce73b7274f136b1a0e80e2 (diff) | |
download | u-boot-4fa7521f66188b3fd5909de7a84d00492c7c32b5.zip u-boot-4fa7521f66188b3fd5909de7a84d00492c7c32b5.tar.gz u-boot-4fa7521f66188b3fd5909de7a84d00492c7c32b5.tar.bz2 |
misc: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
72 files changed, 10 insertions, 72 deletions
diff --git a/drivers/misc/altera_sysid.c b/drivers/misc/altera_sysid.c index 878df12..21e64fa 100644 --- a/drivers/misc/altera_sysid.c +++ b/drivers/misc/altera_sysid.c @@ -4,7 +4,6 @@ * Scott McNutt <smcnutt@psyent.com> */ -#include <common.h> #include <command.h> #include <dm.h> #include <errno.h> diff --git a/drivers/misc/atsha204a-i2c.c b/drivers/misc/atsha204a-i2c.c index 707daa9..3b9046d 100644 --- a/drivers/misc/atsha204a-i2c.c +++ b/drivers/misc/atsha204a-i2c.c @@ -10,7 +10,6 @@ * published by the Free Software Foundation. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <errno.h> diff --git a/drivers/misc/cbmem_console.c b/drivers/misc/cbmem_console.c index ba3a599..8220add 100644 --- a/drivers/misc/cbmem_console.c +++ b/drivers/misc/cbmem_console.c @@ -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) diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 9c1e6a5..fabe496 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -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> diff --git a/drivers/misc/cros_ec_i2c.c b/drivers/misc/cros_ec_i2c.c index a1b78a3..5516aa8 100644 --- a/drivers/misc/cros_ec_i2c.c +++ b/drivers/misc/cros_ec_i2c.c @@ -12,7 +12,6 @@ * KBC. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <cros_ec.h> diff --git a/drivers/misc/cros_ec_lpc.c b/drivers/misc/cros_ec_lpc.c index 1a8a813..e2a3226 100644 --- a/drivers/misc/cros_ec_lpc.c +++ b/drivers/misc/cros_ec_lpc.c @@ -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 diff --git a/drivers/misc/cros_ec_sandbox.c b/drivers/misc/cros_ec_sandbox.c index 1201535..1cad51d 100644 --- a/drivers/misc/cros_ec_sandbox.c +++ b/drivers/misc/cros_ec_sandbox.c @@ -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> diff --git a/drivers/misc/cros_ec_spi.c b/drivers/misc/cros_ec_spi.c index 591ff30..e86791c 100644 --- a/drivers/misc/cros_ec_spi.c +++ b/drivers/misc/cros_ec_spi.c @@ -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) { diff --git a/drivers/misc/ds4510.c b/drivers/misc/ds4510.c index 9340596..302015e 100644 --- a/drivers/misc/ds4510.c +++ b/drivers/misc/ds4510.c @@ -8,7 +8,6 @@ * and 4 programmable non-volatile GPIO pins. */ -#include <common.h> #include <i2c.h> #include <command.h> #include <linux/delay.h> diff --git a/drivers/misc/esm_pmic.c b/drivers/misc/esm_pmic.c index a518f75..1963c86 100644 --- a/drivers/misc/esm_pmic.c +++ b/drivers/misc/esm_pmic.c @@ -7,7 +7,6 @@ * */ -#include <common.h> #include <dm.h> #include <errno.h> #include <power/pmic.h> diff --git a/drivers/misc/fs_loader.c b/drivers/misc/fs_loader.c index 1ffc199..66803f4 100644 --- a/drivers/misc/fs_loader.c +++ b/drivers/misc/fs_loader.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_FS_FIRMWARE_LOADER -#include <common.h> #include <dm.h> #include <env.h> #include <errno.h> diff --git a/drivers/misc/fsl_devdis.c b/drivers/misc/fsl_devdis.c index 179053a..2c3d234 100644 --- a/drivers/misc/fsl_devdis.c +++ b/drivers/misc/fsl_devdis.c @@ -3,7 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. * Author: Zhuoyu Zhang <Zhuoyu.Zhang@freescale.com> */ -#include <common.h> +#include <config.h> #include <asm/io.h> #include <asm/arch-ls102xa/immap_ls102xa.h> #include <asm/arch-ls102xa/config.h> diff --git a/drivers/misc/fsl_ifc.c b/drivers/misc/fsl_ifc.c index f165b8c..93f41da 100644 --- a/drivers/misc/fsl_ifc.c +++ b/drivers/misc/fsl_ifc.c @@ -4,7 +4,7 @@ * Author: Dipen Dudhat <dipen.dudhat@freescale.com> */ -#include <common.h> +#include <config.h> #include <fsl_ifc.h> #include <part.h> diff --git a/drivers/misc/fsl_iim.c b/drivers/misc/fsl_iim.c index 85cc3c2..65468a6 100644 --- a/drivers/misc/fsl_iim.c +++ b/drivers/misc/fsl_iim.c @@ -8,7 +8,6 @@ * Martha Marx <mmarx@silicontkx.com> */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h> diff --git a/drivers/misc/fsl_portals.c b/drivers/misc/fsl_portals.c index 6b83128..e7c0df7 100644 --- a/drivers/misc/fsl_portals.c +++ b/drivers/misc/fsl_portals.c @@ -4,7 +4,7 @@ * Copyright 2017 NXP */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/drivers/misc/fsl_sec_mon.c b/drivers/misc/fsl_sec_mon.c index 3597ee2..7518089 100644 --- a/drivers/misc/fsl_sec_mon.c +++ b/drivers/misc/fsl_sec_mon.c @@ -3,7 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ -#include <common.h> +#include <config.h> #include <fsl_sec_mon.h> #include <linux/delay.h> diff --git a/drivers/misc/gdsys_ioep.c b/drivers/misc/gdsys_ioep.c index 145cfa2..d4916a2 100644 --- a/drivers/misc/gdsys_ioep.c +++ b/drivers/misc/gdsys_ioep.c @@ -11,7 +11,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> diff --git a/drivers/misc/gdsys_rxaui_ctrl.c b/drivers/misc/gdsys_rxaui_ctrl.c index 8f5cbe4..d4cd63c 100644 --- a/drivers/misc/gdsys_rxaui_ctrl.c +++ b/drivers/misc/gdsys_rxaui_ctrl.c @@ -7,7 +7,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <misc.h> diff --git a/drivers/misc/gdsys_soc.c b/drivers/misc/gdsys_soc.c index 27e7dc4..0adbb8d 100644 --- a/drivers/misc/gdsys_soc.c +++ b/drivers/misc/gdsys_soc.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/lists.h> diff --git a/drivers/misc/gpio_led.c b/drivers/misc/gpio_led.c index 30679f8..e636899 100644 --- a/drivers/misc/gpio_led.c +++ b/drivers/misc/gpio_led.c @@ -5,7 +5,6 @@ * Licensed under the GPL-2 or later. */ -#include <common.h> #include <status_led.h> #include <asm/gpio.h> diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index 9cb375a..10f0173 100644 --- a/drivers/misc/i2c_eeprom.c +++ b/drivers/misc/i2c_eeprom.c @@ -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> diff --git a/drivers/misc/i2c_eeprom_emul.c b/drivers/misc/i2c_eeprom_emul.c index 6f32087..3ad2e04 100644 --- a/drivers/misc/i2c_eeprom_emul.c +++ b/drivers/misc/i2c_eeprom_emul.c @@ -5,7 +5,6 @@ * Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> diff --git a/drivers/misc/ihs_fpga.c b/drivers/misc/ihs_fpga.c index a0fece9..fe196b6 100644 --- a/drivers/misc/ihs_fpga.c +++ b/drivers/misc/ihs_fpga.c @@ -9,7 +9,6 @@ * Dirk Eibach, Guntermann & Drunck GmbH, eibach@gdsys.de */ -#include <common.h> #include <dm.h> #include <log.h> #include <regmap.h> diff --git a/drivers/misc/imx8/fuse.c b/drivers/misc/imx8/fuse.c index b81f73f..90d251a 100644 --- a/drivers/misc/imx8/fuse.c +++ b/drivers/misc/imx8/fuse.c @@ -3,7 +3,6 @@ * Copyright 2019 NXP */ -#include <common.h> #include <console.h> #include <errno.h> #include <fuse.h> diff --git a/drivers/misc/imx8/scu.c b/drivers/misc/imx8/scu.c index 798800a..bbd7e24 100644 --- a/drivers/misc/imx8/scu.c +++ b/drivers/misc/imx8/scu.c @@ -5,7 +5,6 @@ * Peng Fan <peng.fan@nxp.com> */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/drivers/misc/imx8/scu_api.c b/drivers/misc/imx8/scu_api.c index 6e2c678..591d71b 100644 --- a/drivers/misc/imx8/scu_api.c +++ b/drivers/misc/imx8/scu_api.c @@ -5,7 +5,6 @@ * Peng Fan <peng.fan@nxp.com> */ -#include <common.h> #include <hang.h> #include <malloc.h> #include <asm/global_data.h> diff --git a/drivers/misc/imx_ele/ele_api.c b/drivers/misc/imx_ele/ele_api.c index e0ec22c..3745504 100644 --- a/drivers/misc/imx_ele/ele_api.c +++ b/drivers/misc/imx_ele/ele_api.c @@ -4,7 +4,6 @@ * */ -#include <common.h> #include <hang.h> #include <malloc.h> #include <asm/io.h> diff --git a/drivers/misc/imx_ele/ele_mu.c b/drivers/misc/imx_ele/ele_mu.c index 053cdcf..0cf81f3 100644 --- a/drivers/misc/imx_ele/ele_mu.c +++ b/drivers/misc/imx_ele/ele_mu.c @@ -3,7 +3,6 @@ * Copyright 2020-2022 NXP */ -#include <common.h> #include <asm/io.h> #include <dm.h> #include <dm/lists.h> diff --git a/drivers/misc/imx_ele/fuse.c b/drivers/misc/imx_ele/fuse.c index 4e4dcb4..d12539c 100644 --- a/drivers/misc/imx_ele/fuse.c +++ b/drivers/misc/imx_ele/fuse.c @@ -3,7 +3,6 @@ * Copyright 2020 NXP */ -#include <common.h> #include <console.h> #include <errno.h> #include <fuse.h> diff --git a/drivers/misc/irq-uclass.c b/drivers/misc/irq-uclass.c index 7b79ed2..79eb7c2 100644 --- a/drivers/misc/irq-uclass.c +++ b/drivers/misc/irq-uclass.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_IRQ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <irq.h> diff --git a/drivers/misc/irq_sandbox.c b/drivers/misc/irq_sandbox.c index 8b5573f..5d176f6 100644 --- a/drivers/misc/irq_sandbox.c +++ b/drivers/misc/irq_sandbox.c @@ -5,7 +5,6 @@ * Copyright 2019 Google LLC */ -#include <common.h> #include <dm.h> #include <irq.h> #include <acpi/acpi_device.h> diff --git a/drivers/misc/irq_sandbox_test.c b/drivers/misc/irq_sandbox_test.c index 95c45c2..3669b86 100644 --- a/drivers/misc/irq_sandbox_test.c +++ b/drivers/misc/irq_sandbox_test.c @@ -5,7 +5,6 @@ * Copyright 2021 Google LLC */ -#include <common.h> #include <dm.h> #include <irq.h> #include <asm/irq.h> diff --git a/drivers/misc/jz4780_efuse.c b/drivers/misc/jz4780_efuse.c index 1fba327..5c92de2 100644 --- a/drivers/misc/jz4780_efuse.c +++ b/drivers/misc/jz4780_efuse.c @@ -6,7 +6,6 @@ * Author: Alex Smith <alex.smith@imgtec.com> */ -#include <common.h> #include <asm/io.h> #include <asm/unaligned.h> #include <errno.h> diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c index 0d29eff..87471cc 100644 --- a/drivers/misc/k3_avs.c +++ b/drivers/misc/k3_avs.c @@ -7,7 +7,6 @@ * */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/io.h> diff --git a/drivers/misc/k3_esm.c b/drivers/misc/k3_esm.c index f6ac18b..fa3d656 100644 --- a/drivers/misc/k3_esm.c +++ b/drivers/misc/k3_esm.c @@ -7,7 +7,6 @@ * */ -#include <common.h> #include <dm.h> #include <errno.h> #include <asm/io.h> diff --git a/drivers/misc/ls2_sfp.c b/drivers/misc/ls2_sfp.c index 5351c7e..8cb6e99 100644 --- a/drivers/misc/ls2_sfp.c +++ b/drivers/misc/ls2_sfp.c @@ -12,7 +12,6 @@ */ #define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <clk.h> #include <fuse.h> #include <misc.h> diff --git a/drivers/misc/microchip_flexcom.c b/drivers/misc/microchip_flexcom.c index e0a6f2d..c5ddeca 100644 --- a/drivers/misc/microchip_flexcom.c +++ b/drivers/misc/microchip_flexcom.c @@ -4,7 +4,6 @@ * Author: Eugen Hristev <eugen.hristev@microchip.com> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/misc-uclass.c index cfe9d56..1389e14 100644 --- a/drivers/misc/misc-uclass.c +++ b/drivers/misc/misc-uclass.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <dm.h> #include <errno.h> #include <misc.h> diff --git a/drivers/misc/misc_sandbox.c b/drivers/misc/misc_sandbox.c index 31cde2d..2473419 100644 --- a/drivers/misc/misc_sandbox.c +++ b/drivers/misc/misc_sandbox.c @@ -4,7 +4,6 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ -#include <common.h> #include <dm.h> #include <misc.h> diff --git a/drivers/misc/mpc83xx_serdes.c b/drivers/misc/mpc83xx_serdes.c index 93c87e9..cf9aa9b 100644 --- a/drivers/misc/mpc83xx_serdes.c +++ b/drivers/misc/mpc83xx_serdes.c @@ -9,7 +9,6 @@ * Copyright (C) 2008 MontaVista Software, Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mapmem.h> diff --git a/drivers/misc/mxc_ocotp.c b/drivers/misc/mxc_ocotp.c index 8ee18f2..d1674ca 100644 --- a/drivers/misc/mxc_ocotp.c +++ b/drivers/misc/mxc_ocotp.c @@ -11,7 +11,6 @@ * Copyright (C) 2011 Freescale Semiconductor, Inc. */ -#include <common.h> #include <fuse.h> #include <linux/delay.h> #include <linux/errno.h> diff --git a/drivers/misc/mxs_ocotp.c b/drivers/misc/mxs_ocotp.c index facc720..6432c62 100644 --- a/drivers/misc/mxs_ocotp.c +++ b/drivers/misc/mxs_ocotp.c @@ -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> diff --git a/drivers/misc/npcm_host_intf.c b/drivers/misc/npcm_host_intf.c index 79f57f5..58bab88 100644 --- a/drivers/misc/npcm_host_intf.c +++ b/drivers/misc/npcm_host_intf.c @@ -4,7 +4,6 @@ * Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <syscon.h> diff --git a/drivers/misc/npcm_otp.c b/drivers/misc/npcm_otp.c index 0802972..adb6135 100644 --- a/drivers/misc/npcm_otp.c +++ b/drivers/misc/npcm_otp.c @@ -4,7 +4,6 @@ */ #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <fuse.h> diff --git a/drivers/misc/nuvoton_nct6102d.c b/drivers/misc/nuvoton_nct6102d.c index daf5019..a3ca037 100644 --- a/drivers/misc/nuvoton_nct6102d.c +++ b/drivers/misc/nuvoton_nct6102d.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <nuvoton_nct6102d.h> #include <asm/io.h> #include <asm/pnp_def.h> diff --git a/drivers/misc/nvmem.c b/drivers/misc/nvmem.c index 5a2bd1f..d0cb0a3 100644 --- a/drivers/misc/nvmem.c +++ b/drivers/misc/nvmem.c @@ -3,7 +3,6 @@ * Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com> */ -#include <common.h> #include <i2c_eeprom.h> #include <linker_lists.h> #include <misc.h> diff --git a/drivers/misc/p2sb-uclass.c b/drivers/misc/p2sb-uclass.c index f24857a..016c807 100644 --- a/drivers/misc/p2sb-uclass.c +++ b/drivers/misc/p2sb-uclass.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY UCLASS_P2SB -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> diff --git a/drivers/misc/p2sb_emul.c b/drivers/misc/p2sb_emul.c index 51f8716..3dac6bd 100644 --- a/drivers/misc/p2sb_emul.c +++ b/drivers/misc/p2sb_emul.c @@ -8,7 +8,6 @@ #define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <axi.h> #include <dm.h> #include <log.h> diff --git a/drivers/misc/p2sb_sandbox.c b/drivers/misc/p2sb_sandbox.c index d80bca2..9f3cd14 100644 --- a/drivers/misc/p2sb_sandbox.c +++ b/drivers/misc/p2sb_sandbox.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY UCLASS_P2SB -#include <common.h> #include <dm.h> #include <asm/io.h> #include <p2sb.h> diff --git a/drivers/misc/pca9551_led.c b/drivers/misc/pca9551_led.c index cdc4390..040d0d5 100644 --- a/drivers/misc/pca9551_led.c +++ b/drivers/misc/pca9551_led.c @@ -3,7 +3,6 @@ * Copyright (C) 2015 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <errno.h> #include <i2c.h> #include <status_led.h> diff --git a/drivers/misc/pwrseq-uclass.c b/drivers/misc/pwrseq-uclass.c index a0f24e1..bddc3c3 100644 --- a/drivers/misc/pwrseq-uclass.c +++ b/drivers/misc/pwrseq-uclass.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_PWRSEQ -#include <common.h> #include <dm.h> #include <pwrseq.h> diff --git a/drivers/misc/qfw.c b/drivers/misc/qfw.c index db98619..0e002ac 100644 --- a/drivers/misc/qfw.c +++ b/drivers/misc/qfw.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_QFW -#include <common.h> #include <acpi/acpi_table.h> #include <bootdev.h> #include <bootflow.h> diff --git a/drivers/misc/rockchip-efuse.c b/drivers/misc/rockchip-efuse.c index 2f96b79..c743014 100644 --- a/drivers/misc/rockchip-efuse.c +++ b/drivers/misc/rockchip-efuse.c @@ -6,7 +6,6 @@ * Written by Philipp Tomsich <philipp.tomsich@theobroma-systems.com> */ -#include <common.h> #include <asm/io.h> #include <command.h> #include <display_options.h> diff --git a/drivers/misc/rockchip-otp.c b/drivers/misc/rockchip-otp.c index 4f75708..2123c31 100644 --- a/drivers/misc/rockchip-otp.c +++ b/drivers/misc/rockchip-otp.c @@ -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> diff --git a/drivers/misc/sandbox_adder.c b/drivers/misc/sandbox_adder.c index 3ea33e4..de1c635 100644 --- a/drivers/misc/sandbox_adder.c +++ b/drivers/misc/sandbox_adder.c @@ -7,7 +7,6 @@ #define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <axi.h> #include <dm.h> #include <misc.h> diff --git a/drivers/misc/sifive-otp.c b/drivers/misc/sifive-otp.c index a624a35..7fbcd37 100644 --- a/drivers/misc/sifive-otp.c +++ b/drivers/misc/sifive-otp.c @@ -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> diff --git a/drivers/misc/sl28cpld.c b/drivers/misc/sl28cpld.c index 01ef1c6..1c61b00 100644 --- a/drivers/misc/sl28cpld.c +++ b/drivers/misc/sl28cpld.c @@ -3,7 +3,6 @@ * Copyright (c) 2021 Michael Walle <michael@walle.cc> */ -#include <common.h> #include <dm.h> #include <i2c.h> diff --git a/drivers/misc/smsc_lpc47m.c b/drivers/misc/smsc_lpc47m.c index bda064f..1b15907 100644 --- a/drivers/misc/smsc_lpc47m.c +++ b/drivers/misc/smsc_lpc47m.c @@ -3,7 +3,6 @@ * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> */ -#include <common.h> #include <asm/io.h> #include <asm/pnp_def.h> diff --git a/drivers/misc/smsc_sio1007.c b/drivers/misc/smsc_sio1007.c index 3b7b1c8..6d99aa6 100644 --- a/drivers/misc/smsc_sio1007.c +++ b/drivers/misc/smsc_sio1007.c @@ -3,7 +3,6 @@ * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> */ -#include <common.h> #include <asm/io.h> #include <errno.h> #include <smsc_sio1007.h> diff --git a/drivers/misc/spltest_sandbox.c b/drivers/misc/spltest_sandbox.c index 6b9701a..3011a22 100644 --- a/drivers/misc/spltest_sandbox.c +++ b/drivers/misc/spltest_sandbox.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <dt-structs.h> diff --git a/drivers/misc/status_led.c b/drivers/misc/status_led.c index a6e9c03..3b1baa4 100644 --- a/drivers/misc/status_led.c +++ b/drivers/misc/status_led.c @@ -4,8 +4,8 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <common.h> #include <status_led.h> +#include <linux/types.h> /* * The purpose of this code is to signal the operational status of a diff --git a/drivers/misc/stm32_rcc.c b/drivers/misc/stm32_rcc.c index c1e5428..0dd827e 100644 --- a/drivers/misc/stm32_rcc.c +++ b/drivers/misc/stm32_rcc.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_NOP -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> diff --git a/drivers/misc/stm32mp_fuse.c b/drivers/misc/stm32mp_fuse.c index 9fd6c36..34be6c2 100644 --- a/drivers/misc/stm32mp_fuse.c +++ b/drivers/misc/stm32mp_fuse.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <command.h> #include <fuse.h> #include <misc.h> diff --git a/drivers/misc/swap_case.c b/drivers/misc/swap_case.c index ee5c12b..d4a5620 100644 --- a/drivers/misc/swap_case.c +++ b/drivers/misc/swap_case.c @@ -6,7 +6,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/drivers/misc/syscon_sandbox.c b/drivers/misc/syscon_sandbox.c index d5cef188..6adb415 100644 --- a/drivers/misc/syscon_sandbox.c +++ b/drivers/misc/syscon_sandbox.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <syscon.h> diff --git a/drivers/misc/tegra186_bpmp.c b/drivers/misc/tegra186_bpmp.c index fecac9c..a1585b8 100644 --- a/drivers/misc/tegra186_bpmp.c +++ b/drivers/misc/tegra186_bpmp.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> diff --git a/drivers/misc/tegra_car.c b/drivers/misc/tegra_car.c index 0ddbb3c..497ec18 100644 --- a/drivers/misc/tegra_car.c +++ b/drivers/misc/tegra_car.c @@ -3,7 +3,6 @@ * Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/lists.h> diff --git a/drivers/misc/test_drv.c b/drivers/misc/test_drv.c index 9276182..9b1e357 100644 --- a/drivers/misc/test_drv.c +++ b/drivers/misc/test_drv.c @@ -3,7 +3,6 @@ * Copyright (c) 2014 Google, Inc */ -#include <common.h> #include <dm.h> #include <dm/test.h> #include <asm/global_data.h> diff --git a/drivers/misc/turris_omnia_mcu.c b/drivers/misc/turris_omnia_mcu.c index 6b2f17c..be77acb 100644 --- a/drivers/misc/turris_omnia_mcu.c +++ b/drivers/misc/turris_omnia_mcu.c @@ -4,7 +4,6 @@ * Copyright (C) 2024 Marek BehĂșn <kabel@kernel.org> */ -#include <common.h> #include <console.h> #include <dm.h> #include <dm/lists.h> diff --git a/drivers/misc/usb251xb.c b/drivers/misc/usb251xb.c index 92e92ba..daba2c2 100644 --- a/drivers/misc/usb251xb.c +++ b/drivers/misc/usb251xb.c @@ -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> diff --git a/drivers/misc/vexpress_config.c b/drivers/misc/vexpress_config.c index 99aad14..e7655ce 100644 --- a/drivers/misc/vexpress_config.c +++ b/drivers/misc/vexpress_config.c @@ -4,7 +4,6 @@ * Author: Liviu Dudau <liviu.dudau@foss.arm.com> * */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <dm/read.h> diff --git a/drivers/misc/winbond_w83627.c b/drivers/misc/winbond_w83627.c index 3838b3f..87b9043 100644 --- a/drivers/misc/winbond_w83627.c +++ b/drivers/misc/winbond_w83627.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ -#include <common.h> #include <asm/io.h> #include <asm/pnp_def.h> |