diff options
Diffstat (limited to 'drivers/misc')
72 files changed, 73 insertions, 10 deletions
diff --git a/drivers/misc/altera_sysid.c b/drivers/misc/altera_sysid.c index 21e64fa3e6..878df12771 100644 --- a/drivers/misc/altera_sysid.c +++ b/drivers/misc/altera_sysid.c @@ -4,6 +4,7 @@ * 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 3b9046da88..707daa90bd 100644 --- a/drivers/misc/atsha204a-i2c.c +++ b/drivers/misc/atsha204a-i2c.c @@ -10,6 +10,7 @@ * 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 8220addd57..ba3a599c4a 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 fabe4964a3..9c1e6a5e3e 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -15,6 +15,7 @@ #define LOG_CATEGORY UCLASS_CROS_EC +#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h> @@ -23,7 +24,6 @@ #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 5516aa8b3f..a1b78a3045 100644 --- a/drivers/misc/cros_ec_i2c.c +++ b/drivers/misc/cros_ec_i2c.c @@ -12,6 +12,7 @@ * 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 e2a3226362..1a8a81349c 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 1cad51d474..1201535f4a 100644 --- a/drivers/misc/cros_ec_sandbox.c +++ b/drivers/misc/cros_ec_sandbox.c @@ -7,6 +7,7 @@ #define LOG_CATEGORY UCLASS_CROS_EC +#include <common.h> #include <cros_ec.h> #include <dm.h> #include <ec_commands.h> @@ -16,7 +17,6 @@ #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 e86791c03a..591ff30df8 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 302015e279..9340596f2c 100644 --- a/drivers/misc/ds4510.c +++ b/drivers/misc/ds4510.c @@ -8,6 +8,7 @@ * 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 1963c8664a..a518f75061 100644 --- a/drivers/misc/esm_pmic.c +++ b/drivers/misc/esm_pmic.c @@ -7,6 +7,7 @@ * */ +#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 66803f4b99..1ffc199ba1 100644 --- a/drivers/misc/fs_loader.c +++ b/drivers/misc/fs_loader.c @@ -6,6 +6,7 @@ #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 2c3d234807..179053a298 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 <config.h> +#include <common.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 93f41da0f9..f165b8c36b 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 <config.h> +#include <common.h> #include <fsl_ifc.h> #include <part.h> diff --git a/drivers/misc/fsl_iim.c b/drivers/misc/fsl_iim.c index 65468a68db..85cc3c26b2 100644 --- a/drivers/misc/fsl_iim.c +++ b/drivers/misc/fsl_iim.c @@ -8,6 +8,7 @@ * 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 e7c0df78b6..6b831281e9 100644 --- a/drivers/misc/fsl_portals.c +++ b/drivers/misc/fsl_portals.c @@ -4,7 +4,7 @@ * Copyright 2017 NXP */ -#include <config.h> +#include <common.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 7518089e1e..3597ee2224 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 <config.h> +#include <common.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 d4916a277b..145cfa23c6 100644 --- a/drivers/misc/gdsys_ioep.c +++ b/drivers/misc/gdsys_ioep.c @@ -11,6 +11,7 @@ * 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 d4cd63ca9f..8f5cbe420f 100644 --- a/drivers/misc/gdsys_rxaui_ctrl.c +++ b/drivers/misc/gdsys_rxaui_ctrl.c @@ -7,6 +7,7 @@ * 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 0adbb8df3c..27e7dc4832 100644 --- a/drivers/misc/gdsys_soc.c +++ b/drivers/misc/gdsys_soc.c @@ -4,6 +4,7 @@ * 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 e63689967a..30679f80cf 100644 --- a/drivers/misc/gpio_led.c +++ b/drivers/misc/gpio_led.c @@ -5,6 +5,7 @@ * 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 10f0173d80..9111bd724c 100644 --- a/drivers/misc/i2c_eeprom.c +++ b/drivers/misc/i2c_eeprom.c @@ -5,6 +5,8 @@ #define LOG_CATEGORY UCLASS_I2C_EEPROM +#include <common.h> +#include <eeprom.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 3ad2e047ee..6f32087ede 100644 --- a/drivers/misc/i2c_eeprom_emul.c +++ b/drivers/misc/i2c_eeprom_emul.c @@ -5,6 +5,7 @@ * 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 fe196b6081..a0fece985d 100644 --- a/drivers/misc/ihs_fpga.c +++ b/drivers/misc/ihs_fpga.c @@ -9,6 +9,7 @@ * 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 90d251a440..b81f73f283 100644 --- a/drivers/misc/imx8/fuse.c +++ b/drivers/misc/imx8/fuse.c @@ -3,6 +3,7 @@ * 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 bbd7e24200..798800aa75 100644 --- a/drivers/misc/imx8/scu.c +++ b/drivers/misc/imx8/scu.c @@ -5,6 +5,7 @@ * 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 591d71b096..6e2c678e61 100644 --- a/drivers/misc/imx8/scu_api.c +++ b/drivers/misc/imx8/scu_api.c @@ -5,6 +5,7 @@ * 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 3745504637..e0ec22c7ab 100644 --- a/drivers/misc/imx_ele/ele_api.c +++ b/drivers/misc/imx_ele/ele_api.c @@ -4,6 +4,7 @@ * */ +#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 0cf81f33ba..053cdcf0fe 100644 --- a/drivers/misc/imx_ele/ele_mu.c +++ b/drivers/misc/imx_ele/ele_mu.c @@ -3,6 +3,7 @@ * 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 d12539c8aa..4e4dcb42cd 100644 --- a/drivers/misc/imx_ele/fuse.c +++ b/drivers/misc/imx_ele/fuse.c @@ -3,6 +3,7 @@ * 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 79eb7c200d..7b79ed2df4 100644 --- a/drivers/misc/irq-uclass.c +++ b/drivers/misc/irq-uclass.c @@ -6,6 +6,7 @@ #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 5d176f63b5..8b5573fcad 100644 --- a/drivers/misc/irq_sandbox.c +++ b/drivers/misc/irq_sandbox.c @@ -5,6 +5,7 @@ * 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 3669b863be..95c45c24ed 100644 --- a/drivers/misc/irq_sandbox_test.c +++ b/drivers/misc/irq_sandbox_test.c @@ -5,6 +5,7 @@ * 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 5c92de26ec..1fba3271db 100644 --- a/drivers/misc/jz4780_efuse.c +++ b/drivers/misc/jz4780_efuse.c @@ -6,6 +6,7 @@ * 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 87471cc3b1..0d29eff1ac 100644 --- a/drivers/misc/k3_avs.c +++ b/drivers/misc/k3_avs.c @@ -7,6 +7,7 @@ * */ +#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 fa3d656562..f6ac18bdc7 100644 --- a/drivers/misc/k3_esm.c +++ b/drivers/misc/k3_esm.c @@ -7,6 +7,7 @@ * */ +#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 8cb6e999be..5351c7ed34 100644 --- a/drivers/misc/ls2_sfp.c +++ b/drivers/misc/ls2_sfp.c @@ -12,6 +12,7 @@ */ #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 c5ddecac75..e0a6f2d388 100644 --- a/drivers/misc/microchip_flexcom.c +++ b/drivers/misc/microchip_flexcom.c @@ -4,6 +4,7 @@ * 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 1389e146b6..cfe9d562fa 100644 --- a/drivers/misc/misc-uclass.c +++ b/drivers/misc/misc-uclass.c @@ -5,6 +5,7 @@ #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 2473419df2..31cde2dbac 100644 --- a/drivers/misc/misc_sandbox.c +++ b/drivers/misc/misc_sandbox.c @@ -4,6 +4,7 @@ * 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 cf9aa9b35b..93c87e998c 100644 --- a/drivers/misc/mpc83xx_serdes.c +++ b/drivers/misc/mpc83xx_serdes.c @@ -9,6 +9,7 @@ * 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 d1674caa13..8ee18f29d9 100644 --- a/drivers/misc/mxc_ocotp.c +++ b/drivers/misc/mxc_ocotp.c @@ -11,6 +11,7 @@ * 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 6432c62dac..facc720c8e 100644 --- a/drivers/misc/mxs_ocotp.c +++ b/drivers/misc/mxs_ocotp.c @@ -11,6 +11,7 @@ * 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 58bab888c3..79f57f57d8 100644 --- a/drivers/misc/npcm_host_intf.c +++ b/drivers/misc/npcm_host_intf.c @@ -4,6 +4,7 @@ * 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 adb6135291..08029724c0 100644 --- a/drivers/misc/npcm_otp.c +++ b/drivers/misc/npcm_otp.c @@ -4,6 +4,7 @@ */ #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 a3ca037d25..daf5019d01 100644 --- a/drivers/misc/nuvoton_nct6102d.c +++ b/drivers/misc/nuvoton_nct6102d.c @@ -3,6 +3,7 @@ * 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 d0cb0a35b8..5a2bd1f9f7 100644 --- a/drivers/misc/nvmem.c +++ b/drivers/misc/nvmem.c @@ -3,6 +3,7 @@ * 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 016c807337..f24857a151 100644 --- a/drivers/misc/p2sb-uclass.c +++ b/drivers/misc/p2sb-uclass.c @@ -8,6 +8,7 @@ #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 3dac6bd82e..51f87161d5 100644 --- a/drivers/misc/p2sb_emul.c +++ b/drivers/misc/p2sb_emul.c @@ -8,6 +8,7 @@ #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 9f3cd14958..d80bca22a6 100644 --- a/drivers/misc/p2sb_sandbox.c +++ b/drivers/misc/p2sb_sandbox.c @@ -7,6 +7,7 @@ #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 040d0d5cf4..cdc4390f81 100644 --- a/drivers/misc/pca9551_led.c +++ b/drivers/misc/pca9551_led.c @@ -3,6 +3,7 @@ * 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 bddc3c3368..a0f24e1bf3 100644 --- a/drivers/misc/pwrseq-uclass.c +++ b/drivers/misc/pwrseq-uclass.c @@ -5,6 +5,7 @@ #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 0e002ac25f..db98619fdf 100644 --- a/drivers/misc/qfw.c +++ b/drivers/misc/qfw.c @@ -6,6 +6,7 @@ #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 c743014771..2f96b79ea4 100644 --- a/drivers/misc/rockchip-efuse.c +++ b/drivers/misc/rockchip-efuse.c @@ -6,6 +6,7 @@ * 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 2123c31038..4f757083a1 100644 --- a/drivers/misc/rockchip-otp.c +++ b/drivers/misc/rockchip-otp.c @@ -3,6 +3,7 @@ * 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 de1c635758..3ea33e46e9 100644 --- a/drivers/misc/sandbox_adder.c +++ b/drivers/misc/sandbox_adder.c @@ -7,6 +7,7 @@ #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 7fbcd3799e..a624a35880 100644 --- a/drivers/misc/sifive-otp.c +++ b/drivers/misc/sifive-otp.c @@ -17,6 +17,7 @@ * 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 1c61b005af..01ef1c6178 100644 --- a/drivers/misc/sl28cpld.c +++ b/drivers/misc/sl28cpld.c @@ -3,6 +3,7 @@ * 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 1b15907b09..bda064f136 100644 --- a/drivers/misc/smsc_lpc47m.c +++ b/drivers/misc/smsc_lpc47m.c @@ -3,6 +3,7 @@ * 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 6d99aa61d9..3b7b1c8bcf 100644 --- a/drivers/misc/smsc_sio1007.c +++ b/drivers/misc/smsc_sio1007.c @@ -3,6 +3,7 @@ * 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 3011a22927..6b9701a06a 100644 --- a/drivers/misc/spltest_sandbox.c +++ b/drivers/misc/spltest_sandbox.c @@ -4,6 +4,7 @@ * 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 3b1baa4f84..a6e9c03a02 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 0dd827e1dd..c1e5428a6b 100644 --- a/drivers/misc/stm32_rcc.c +++ b/drivers/misc/stm32_rcc.c @@ -6,6 +6,7 @@ #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 34be6c28c1..9fd6c367dc 100644 --- a/drivers/misc/stm32mp_fuse.c +++ b/drivers/misc/stm32mp_fuse.c @@ -3,6 +3,7 @@ * 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 d4a5620c62..ee5c12bd0a 100644 --- a/drivers/misc/swap_case.c +++ b/drivers/misc/swap_case.c @@ -6,6 +6,7 @@ * 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 6adb4154c2..d5cef188d7 100644 --- a/drivers/misc/syscon_sandbox.c +++ b/drivers/misc/syscon_sandbox.c @@ -4,6 +4,7 @@ * 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 a1585b8186..fecac9c4d9 100644 --- a/drivers/misc/tegra186_bpmp.c +++ b/drivers/misc/tegra186_bpmp.c @@ -3,6 +3,7 @@ * 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 497ec18564..0ddbb3c619 100644 --- a/drivers/misc/tegra_car.c +++ b/drivers/misc/tegra_car.c @@ -3,6 +3,7 @@ * 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 9b1e357a13..927618256f 100644 --- a/drivers/misc/test_drv.c +++ b/drivers/misc/test_drv.c @@ -3,6 +3,7 @@ * 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 be77acbd16..6b2f17c000 100644 --- a/drivers/misc/turris_omnia_mcu.c +++ b/drivers/misc/turris_omnia_mcu.c @@ -4,6 +4,7 @@ * 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 daba2c2d68..92e92ba5e6 100644 --- a/drivers/misc/usb251xb.c +++ b/drivers/misc/usb251xb.c @@ -10,6 +10,7 @@ * 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 e7655ceff7..99aad1412a 100644 --- a/drivers/misc/vexpress_config.c +++ b/drivers/misc/vexpress_config.c @@ -4,6 +4,7 @@ * 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 87b9043e65..3838b3f74f 100644 --- a/drivers/misc/winbond_w83627.c +++ b/drivers/misc/winbond_w83627.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <asm/io.h> #include <asm/pnp_def.h> |