common: Drop linux/printk.h from common header
Subsystems (59)
PATCH 1/1 common: Drop linux/printk.h from common header
This old patch was marked as deferred. Bring it back to life, to continue towards the removal of common.h
Move this out of the common header and include it only where needed.
---
arch/arm/lib/gic-v3-its.c | 1 + arch/arm/mach-imx/imx8/fdt.c | 1 + arch/arm/mach-k3/common.c | 1 + arch/arm/mach-meson/board-gx.c | 1 + arch/arm/mach-omap2/am33xx/board.c | 1 + arch/arm/mach-omap2/utils.c | 1 + arch/arm/mach-rockchip/boot_mode.c | 1 + arch/arm/mach-rockchip/rk3188/rk3188.c | 1 + arch/arm/mach-rockchip/rk3399/rk3399.c | 1 + arch/arm/mach-socfpga/misc.c | 1 + arch/arm/mach-stm32mp/bsec.c | 1 + arch/arm/mach-stm32mp/cmd_stm32key.c | 1 + arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c | 1 + arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 1 + arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 2 ++ arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | 1 + arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c | 1 + arch/arm/mach-stm32mp/cpu.c | 3 ++- arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h | 1 + arch/arm/mach-tegra/cboot.c | 1 + arch/arm/mach-tegra/ivc.c | 1 + arch/arm/mach-tegra/tegra124/xusb-padctl.c | 1 + arch/arm/mach-tegra/tegra20/clock.c | 1 + arch/arm/mach-tegra/tegra210/xusb-padctl.c | 1 + arch/arm/mach-tegra/tegra30/clock.c | 1 + arch/arm/mach-tegra/xusb-padctl-common.c | 1 + arch/arm/mach-uniphier/boot-device/boot-device.c | 1 + arch/arm/mach-uniphier/clk/dpll-ld4.c | 1 + arch/arm/mach-uniphier/clk/dpll-pro4.c | 1 + arch/arm/mach-uniphier/dram/umc-ld4.c | 1 + arch/arm/mach-uniphier/dram/umc-pro4.c | 1 + arch/arm/mach-uniphier/dram/umc-sld8.c | 1 + arch/arm/mach-uniphier/memconf.c | 1 + arch/arm/mach-uniphier/spl_board_init.c | 1 + arch/riscv/lib/smp.c | 1 + arch/x86/cpu/tangier/pinmux.c | 1 + arch/x86/cpu/tangier/sdram.c | 1 + board/dhelectronics/dh_stm32mp1/board.c | 1 + board/mediatek/mt8518/mt8518_ap1.c | 1 + board/mscc/ocelot/ocelot.c | 1 + board/nvidia/jetson-tk1/jetson-tk1.c | 1 + board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c | 1 + board/samsung/common/exynos5-dt.c | 1 + board/samsung/common/misc.c | 1 + board/samsung/goni/goni.c | 1 + board/samsung/odroid/odroid.c | 1 + board/st/common/stm32mp_dfu.c | 1 + board/st/stm32mp1/stm32mp1.c | 1 + board/sunxi/board.c | 1 + board/synopsys/hsdk/clk-lib.c | 1 + board/synopsys/hsdk/env-lib.c | 1 + board/ti/am65x/evm.c | 1 + board/ti/common/board_detect.c | 1 + board/ti/j721e/evm.c | 1 + board/toradex/apalis-tk1/apalis-tk1.c | 1 + cmd/adc.c | 1 + cmd/fastboot.c | 1 + cmd/nvedit.c | 1 + cmd/onenand.c | 1 + cmd/regulator.c | 1 + cmd/thordown.c | 1 + cmd/tpm_test.c | 1 + cmd/usb_gadget_sdp.c | 1 + cmd/usb_mass_storage.c | 1 + common/dfu.c | 1 + common/spl/spl_dfu.c | 1 + common/spl/spl_fit.c | 1 + common/spl/spl_opensbi.c | 1 + common/spl/spl_sdp.c | 1 + common/update.c | 1 + disk/part_efi.c | 1 + drivers/adc/adc-uclass.c | 1 + drivers/adc/exynos-adc.c | 1 + drivers/adc/meson-saradc.c | 1 + drivers/adc/rockchip-saradc.c | 1 + drivers/adc/sandbox.c | 1 + drivers/ata/dwc_ahci.c | 1 + drivers/bios_emulator/include/x86emu/debug.h | 1 + drivers/bios_emulator/include/x86emu/regs.h | 1 + drivers/bios_emulator/x86emu/debug.c | 1 + drivers/bios_emulator/x86emu/decode.c | 1 + drivers/bios_emulator/x86emu/ops.c | 1 + drivers/bios_emulator/x86emu/ops2.c | 1 + drivers/bios_emulator/x86emu/sys.c | 1 + drivers/bootcount/bootcount-uclass.c | 1 + drivers/clk/analogbits/wrpll-cln28hpc.c | 1 + drivers/clk/clk-divider.c | 1 + drivers/clk/clk-gate.c | 1 + drivers/clk/clk-hsdk-cgu.c | 1 + drivers/clk/clk-mux.c | 1 + drivers/clk/clk_boston.c | 1 + drivers/clk/imx/clk-pll14xx.c | 1 + drivers/clk/rockchip/clk_rk3368.c | 1 + drivers/clk/rockchip/clk_rk3399.c | 1 + drivers/core/device.c | 1 + drivers/core/of_addr.c | 1 + drivers/core/root.c | 1 + drivers/dfu/dfu.c | 1 + drivers/dfu/dfu_mmc.c | 1 + drivers/dfu/dfu_ram.c | 1 + drivers/dma/bcm6348-iudma.c | 1 + drivers/dma/dma-uclass.c | 1 + drivers/dma/lpc32xx_dma.c | 1 + drivers/dma/sandbox-dma-test.c | 1 + drivers/dma/ti-edma3.c | 1 + drivers/dma/ti/k3-udma.c | 1 + drivers/fastboot/fb_command.c | 1 + drivers/fastboot/fb_getvar.c | 1 + drivers/fastboot/fb_mmc.c | 1 + drivers/fastboot/fb_nand.c | 1 + drivers/i2c/i2c-gpio.c | 1 + drivers/i2c/iproc_i2c.c | 1 + drivers/i2c/omap24xx_i2c.c | 1 + drivers/i2c/stm32f7_i2c.c | 1 + drivers/i2c/tegra_i2c.c | 1 + drivers/misc/sifive-otp.c | 1 + drivers/misc/tegra186_bpmp.c | 1 + drivers/mmc/exynos_dw_mmc.c | 1 + drivers/mmc/fsl_esdhc_imx.c | 1 + drivers/mmc/mmc.c | 1 + drivers/mmc/mtk-sd.c | 1 + drivers/mmc/sdhci.c | 1 + drivers/mmc/sti_sdhci.c | 1 + drivers/mmc/stm32_sdmmc2.c | 1 + drivers/mmc/xenon_sdhci.c | 1 + drivers/mtd/mtdconcat.c | 1 + drivers/mtd/mtdcore.c | 1 + drivers/mtd/mtdpart.c | 1 + drivers/mtd/nand/bbt.c | 1 + drivers/mtd/nand/core.c | 1 + drivers/mtd/nand/raw/arasan_nfc.c | 1 + drivers/mtd/nand/raw/atmel_nand.c | 1 + drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c | 1 + drivers/mtd/nand/raw/brcmnand/bcm6368_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/davinci_nand.c | 1 + drivers/mtd/nand/raw/lpc32xx_nand_mlc.c | 1 + drivers/mtd/nand/raw/lpc32xx_nand_slc.c | 1 + drivers/mtd/nand/raw/mxc_nand.c | 1 + 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/pxa3xx_nand.c | 1 + drivers/mtd/nand/raw/stm32_fmc2_nand.c | 1 + drivers/mtd/nand/raw/sunxi_nand.c | 1 + drivers/mtd/nand/raw/tegra_nand.c | 1 + drivers/mtd/nand/raw/vf610_nfc.c | 1 + drivers/mtd/nand/raw/zynq_nand.c | 1 + drivers/mtd/nand/spi/core.c | 1 + drivers/mtd/onenand/onenand_base.c | 1 + drivers/mtd/onenand/onenand_bbt.c | 1 + drivers/mtd/onenand/samsung.c | 1 + drivers/mtd/spi/spi-nor-core.c | 1 + drivers/mtd/spi/spi-nor-tiny.c | 1 + drivers/mtd/ubi/attach.c | 1 + drivers/mtd/ubi/build.c | 1 + drivers/mtd/ubi/debug.c | 1 + drivers/mtd/ubi/debug.h | 1 + drivers/mtd/ubi/ubi.h | 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/designware.c | 1 + drivers/net/dwc_eth_qos.c | 1 + drivers/net/fsl-mc/dpio/qbman_sys.h | 1 + drivers/net/ftgmac100.c | 1 + drivers/net/mscc_eswitch/jr2_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/mvmdio.c | 1 + drivers/net/phy/dp83867.c | 1 + drivers/net/phy/mscc.c | 1 + drivers/net/rtl8169.c | 1 + drivers/net/sni_ave.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/keystone_net.c | 1 + drivers/pci/pci-uclass.c | 1 + drivers/pci/pci_mvebu.c | 1 + drivers/pci/pci_tegra.c | 1 + drivers/pci/pcie_ecam_generic.c | 1 + drivers/pci/pcie_fsl.c | 1 + drivers/pci/pcie_mediatek.c | 1 + drivers/pci/pcie_phytium.c | 1 + drivers/pci/pcie_xilinx.c | 1 + drivers/phy/keystone-usb-phy.c | 1 + drivers/phy/marvell/comphy_cp110.c | 1 + drivers/phy/meson-g12a-usb2.c | 1 + drivers/phy/meson-g12a-usb3-pcie.c | 1 + drivers/phy/meson-gxbb-usb2.c | 1 + drivers/phy/meson-gxl-usb2.c | 3 ++- drivers/phy/phy-rcar-gen3.c | 1 + drivers/phy/phy-stm32-usbphyc.c | 1 + drivers/phy/phy-uclass.c | 1 + drivers/phy/sti_usb_phy.c | 1 + drivers/phy/ti-pipe3-phy.c | 1 + drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 1 + drivers/pinctrl/pinctrl-sti.c | 1 + drivers/pinctrl/pinctrl_stm32.c | 1 + drivers/power/palmas.c | 1 + drivers/power/pmic/as3722.c | 1 + drivers/power/pmic/as3722_gpio.c | 1 + drivers/power/pmic/bd71837.c | 1 + drivers/power/pmic/da9063.c | 1 + drivers/power/pmic/fan53555.c | 1 + drivers/power/pmic/i2c_pmic_emul.c | 1 + drivers/power/pmic/lp873x.c | 1 + drivers/power/pmic/lp87565.c | 1 + drivers/power/pmic/max77686.c | 1 + drivers/power/pmic/max8997.c | 1 + drivers/power/pmic/max8998.c | 1 + drivers/power/pmic/palmas.c | 1 + drivers/power/pmic/pca9450.c | 1 + drivers/power/pmic/pfuze100.c | 1 + drivers/power/pmic/pmic_tps65910_dm.c | 1 + drivers/power/pmic/s2mps11.c | 1 + drivers/power/pmic/s5m8767.c | 1 + drivers/power/pmic/sandbox.c | 1 + drivers/power/pmic/tps65090.c | 1 + drivers/power/pmic/tps65941.c | 1 + drivers/power/regulator/bd71837.c | 1 + drivers/power/regulator/fan53555.c | 1 + drivers/power/regulator/fixed.c | 2 ++ drivers/power/regulator/gpio-regulator.c | 2 ++ drivers/power/regulator/max77686.c | 1 + drivers/power/regulator/pbias_regulator.c | 1 + drivers/power/regulator/regulator_common.c | 2 ++ drivers/power/regulator/s2mps11_regulator.c | 1 + drivers/power/regulator/sandbox.c | 1 + drivers/power/regulator/tps65910_regulator.c | 1 + drivers/power/twl4030.c | 1 + drivers/power/twl6030.c | 1 + drivers/ram/imxrt_sdram.c | 1 + drivers/ram/rockchip/dmc-rk3368.c | 1 + drivers/ram/stm32_sdram.c | 1 + drivers/ram/stm32mp1/stm32mp1_ddr.c | 1 + drivers/ram/stm32mp1/stm32mp1_ram.c | 1 + drivers/remoteproc/rproc-elf-loader.c | 1 + drivers/remoteproc/rproc-uclass.c | 1 + drivers/remoteproc/sandbox_testproc.c | 1 + drivers/remoteproc/stm32_copro.c | 1 + drivers/remoteproc/ti_power_proc.c | 1 + drivers/remoteproc/ti_sci_proc.h | 1 + drivers/reset/sti-reset.c | 1 + drivers/serial/serial_mtk.c | 1 + drivers/soc/ti/k3-navss-ringacc.c | 1 + drivers/spi/atmel_spi.c | 1 + drivers/spi/fsl_dspi.c | 1 + drivers/spi/mt7621_spi.c | 1 + drivers/spi/mxc_spi.c | 1 + drivers/spi/pl022_spi.c | 1 + drivers/spi/stm32_qspi.c | 1 + drivers/spi/stm32_spi.c | 1 + drivers/spi/uniphier_spi.c | 1 + drivers/sysreset/sysreset_sti.c | 1 + drivers/sysreset/sysreset_syscon.c | 1 + drivers/sysreset/sysreset_watchdog.c | 1 + drivers/tpm/tpm_tis_infineon.c | 1 + drivers/usb/cdns3/gadget.c | 1 + drivers/usb/common/common.c | 1 + drivers/usb/dwc3/dwc3-generic.c | 1 + drivers/usb/dwc3/dwc3-meson-g12a.c | 1 + drivers/usb/dwc3/gadget.c | 1 + drivers/usb/eth/mcs7830.c | 1 + drivers/usb/gadget/at91_udc.c | 1 + drivers/usb/gadget/atmel_usba_udc.c | 1 + drivers/usb/gadget/dwc2_udc_otg.c | 1 + drivers/usb/gadget/ether.c | 1 + drivers/usb/gadget/f_fastboot.c | 1 + drivers/usb/gadget/f_sdp.c | 1 + drivers/usb/gadget/f_thor.c | 1 + drivers/usb/gadget/udc/udc-uclass.c | 1 + drivers/usb/host/dwc3-sti-glue.c | 1 + drivers/usb/musb-new/mt85xx.c | 1 + drivers/usb/musb-new/musb_core.c | 1 + drivers/usb/musb-new/musb_debug.h | 1 + drivers/usb/musb-new/musb_dsps.c | 1 + drivers/usb/musb-new/musb_gadget.c | 1 + drivers/usb/musb-new/musb_gadget_ep0.c | 1 + drivers/usb/musb-new/omap2430.c | 1 + drivers/usb/musb-new/sunxi.c | 1 + drivers/usb/musb-new/ti-musb.c | 1 + drivers/video/meson/meson_dw_hdmi.c | 1 + drivers/video/meson/meson_vclk.c | 1 + drivers/video/stm32/stm32_dsi.c | 1 + drivers/video/stm32/stm32_ltdc.c | 1 + drivers/video/tegra124/sor.c | 1 + drivers/watchdog/stm32mp_wdt.c | 1 + env/common.c | 1 + fs/ubifs/debug.c | 1 + fs/ubifs/debug.h | 1 + fs/ubifs/lpt_commit.c | 1 + fs/ubifs/super.c | 1 + fs/ubifs/ubifs.h | 1 + fs/yaffs2/yaffs_uboot_glue.c | 1 + include/common.h | 1 - include/crypto/pkcs7_parser.h | 1 + include/dm/device_compat.h | 1 + include/linux/soc/ti/cppi5.h | 1 + lib/asn1_decoder.c | 1 + lib/bch.c | 1 + lib/crypto/asymmetric_type.c | 1 + lib/crypto/pkcs7_parser.c | 1 + lib/crypto/pkcs7_verify.c | 1 + lib/crypto/public_key.c | 1 + lib/crypto/rsa_helper.c | 1 + lib/crypto/x509_cert_parser.c | 1 + lib/crypto/x509_public_key.c | 1 + lib/list_sort.c | 1 + net/fastboot_udp.c | 1 + 317 files changed, 322 insertions(+), 3 deletions(-)
arch/arm/lib/gic-v3-its.c +1 -0
@@ -9,6 +9,7 @@#include <asm/gic-v3.h> #include <asm/io.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <linux/sizes.h> static u32 lpi_id_bits;
arch/arm/mach-imx/imx8/fdt.c +1 -0
@@ -11,6 +11,7 @@#include <dm/ofnode.h> #include <fdt_support.h> #include <linux/libfdt.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
arch/arm/mach-k3/common.c +1 -0
@@ -13,6 +13,7 @@#include <log.h> #include <spl.h> #include <asm/global_data.h> +#include <linux/printk.h> #include "common.h" #include <dm.h> #include <remoteproc.h>
arch/arm/mach-meson/board-gx.c +1 -0
@@ -15,6 +15,7 @@#include <asm/global_data.h> #include <asm/io.h> #include <asm/armv8/mmu.h> +#include <linux/printk.h> #include <linux/sizes.h> DECLARE_GLOBAL_DATA_PTR ;
arch/arm/mach-omap2/am33xx/board.c +1 -0
@@ -42,6 +42,7 @@#include <linux/delay.h> #include <linux/errno.h> #include <linux/compiler.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/musb.h>
arch/arm/mach-omap2/utils.c +1 -0
@@ -9,6 +9,7 @@#include <asm/setup.h> #include <asm/arch/sys_proto.h> #include <asm/omap_common.h> +#include <linux/printk.h> static void do_cancel_out (u32 *num,u32 *den,u32 factor) {
arch/arm/mach-rockchip/boot_mode.c +1 -0
@@ -12,6 +12,7 @@#include <asm/arch-rockchip/boot_mode.h> #include <dm/device.h> #include <dm/uclass.h> +#include <linux/printk.h> #if (CONFIG_ROCKCHIP_BOOT_MODE_REG ==0 )
arch/arm/mach-rockchip/rk3188/rk3188.c +1 -0
@@ -17,6 +17,7 @@#include <asm/arch-rockchip/hardware.h> #include <dm/ofnode.h> #include <linux/err.h> +#include <linux/printk.h> #define GRF_BASE 0x20008000
arch/arm/mach-rockchip/rk3399/rk3399.c +1 -0
@@ -20,6 +20,7 @@#include <asm/arch-rockchip/grf_rk3399.h> #include <asm/arch-rockchip/hardware.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <power/regulator.h> DECLARE_GLOBAL_DATA_PTR ;
arch/arm/mach-socfpga/misc.c +1 -0
@@ -25,6 +25,7 @@#include <asm/arch/nic301.h> #include <asm/arch/scu.h> #include <asm/pl310.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
arch/arm/mach-stm32mp/bsec.c +1 -0
@@ -18,6 +18,7 @@#include <dm/device_compat.h> #include <linux/arm-smccc.h> #include <linux/iopoll.h> +#include <linux/printk.h> #define BSEC_OTP_MAX_VALUE 95#define BSEC_OTP_UPPER_START 32
arch/arm/mach-stm32mp/cmd_stm32key.c +1 -0
@@ -11,6 +11,7 @@#include <asm/arch/bsec.h> #include <dm/device.h> #include <dm/uclass.h> +#include <linux/printk.h> /* * Closed device: OTP0
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c +1 -0
@@ -8,6 +8,7 @@#include <dfu.h> #include <image.h> #include <asm/arch/stm32prog.h> +#include <linux/printk.h> #include "stm32prog.h" struct stm32prog_data *stm32prog_data;
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c +1 -0
@@ -20,6 +20,7 @@#include <linux/list.h> #include <linux/list_sort.h> #include <linux/mtd/mtd.h> +#include <linux/printk.h> #include <linux/sizes.h> #include "stm32prog.h"
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h +2 -0
@@ -6,6 +6,8 @@#ifndef _STM32PROG_H_#define _STM32PROG_H_ +#include <linux/printk.h> +/* - phase defines ------------------------------------------------*/ #define PHASE_FLASHLAYOUT 0x00#define PHASE_FIRST_USER 0x10
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c +1 -0
@@ -14,6 +14,7 @@#include <dm/lists.h> #include <dm/device-internal.h> #include <linux/delay.h> +#include <linux/printk.h> #include <asm/global_data.h> #include "stm32prog.h"
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c +1 -0
@@ -9,6 +9,7 @@#include <usb.h> #include <asm/arch/stm32prog.h> #include <asm/arch/sys_proto.h> +#include <linux/printk.h> #include "stm32prog.h" static int stm32prog_set_phase(struct stm32prog_data *data, u8 phase,
arch/arm/mach-stm32mp/cpu.c +2 -1
@@ -15,6 +15,7 @@#include <lmb.h> #include <misc.h> #include <net.h> +#include <spl.h> #include <asm/io.h> #include <asm/arch/stm32.h> #include <asm/arch/sys_proto.h>
@@ -22,7 +23,7 @@#include <dm/device.h> #include <dm/uclass.h> #include <linux/bitops.h> -#include <spl.h> +#include <linux/printk.h> /* * early TLB into the .data section so that it not get cleared
arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h +1 -0
@@ -7,6 +7,7 @@#define __STM32MP1_SMC_H__#include <linux/arm-smccc.h> +#include <linux/printk.h> /* * SMC function IDs for STM32 Service queries
arch/arm/mach-tegra/cboot.c +1 -0
@@ -15,6 +15,7 @@#include <stdlib.h> #include <string.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <linux/ctype.h> #include <linux/sizes.h>
arch/arm/mach-tegra/ivc.c +1 -0
@@ -8,6 +8,7 @@#include <asm/io.h> #include <asm/arch-tegra/ivc.h> #include <linux/bug.h> +#include <linux/printk.h> #define TEGRA_IVC_ALIGN 64
arch/arm/mach-tegra/tegra124/xusb-padctl.c +1 -0
@@ -11,6 +11,7 @@#include <dm/of_access.h> #include <dm/ofnode.h> #include <linux/delay.h> +#include <linux/printk.h> #include <asm/global_data.h> #include "../xusb-padctl-common.h"
arch/arm/mach-tegra/tegra20/clock.c +1 -0
@@ -19,6 +19,7 @@#include <div64.h> #include <fdtdec.h> #include <linux/delay.h> +#include <linux/printk.h> #include <dt-bindings/clock/tegra20-car.h>
arch/arm/mach-tegra/tegra210/xusb-padctl.c +1 -0
@@ -12,6 +12,7 @@#include <dm/of_access.h> #include <dm/ofnode.h> #include <linux/delay.h> +#include <linux/printk.h> #include "../xusb-padctl-common.h"
arch/arm/mach-tegra/tegra30/clock.c +1 -0
@@ -18,6 +18,7 @@#include <div64.h> #include <fdtdec.h> #include <linux/delay.h> +#include <linux/printk.h> #include <dt-bindings/clock/tegra30-car.h>
arch/arm/mach-tegra/xusb-padctl-common.c +1 -0
@@ -8,6 +8,7 @@#include <common.h> #include <errno.h> #include <log.h> +#include <linux/printk.h> #include "xusb-padctl-common.h"
arch/arm/mach-uniphier/boot-device/boot-device.c +1 -0
@@ -12,6 +12,7 @@#include <linux/errno.h> #include <linux/io.h> #include <linux/log2.h> +#include <linux/printk.h> #include "../init.h" #include "../sg-regs.h"
arch/arm/mach-uniphier/clk/dpll-ld4.c +1 -0
@@ -7,6 +7,7 @@#include <linux/delay.h> #include <linux/errno.h> #include <linux/io.h> +#include <linux/printk.h> #include "../init.h" #include "../sc-regs.h"
arch/arm/mach-uniphier/clk/dpll-pro4.c +1 -0
@@ -7,6 +7,7 @@#include <linux/delay.h> #include <linux/errno.h> #include <linux/io.h> +#include <linux/printk.h> #include "../init.h" #include "../sc-regs.h"
arch/arm/mach-uniphier/dram/umc-ld4.c +1 -0
@@ -7,6 +7,7 @@#include <linux/errno.h> #include <linux/io.h> +#include <linux/printk.h> #include <linux/sizes.h> #include <asm/processor.h>
arch/arm/mach-uniphier/dram/umc-pro4.c +1 -0
@@ -7,6 +7,7 @@#include <linux/errno.h> #include <linux/io.h> +#include <linux/printk.h> #include <linux/sizes.h> #include <asm/processor.h>
arch/arm/mach-uniphier/dram/umc-sld8.c +1 -0
@@ -7,6 +7,7 @@#include <linux/errno.h> #include <linux/io.h> +#include <linux/printk.h> #include <linux/sizes.h> #include <asm/processor.h>
arch/arm/mach-uniphier/memconf.c +1 -0
@@ -7,6 +7,7 @@#include <linux/errno.h> #include <linux/io.h> +#include <linux/printk.h> #include <linux/sizes.h> #include "sg-regs.h"
arch/arm/mach-uniphier/spl_board_init.c +1 -0
@@ -7,6 +7,7 @@#include <debug_uart.h> #include <hang.h> #include <spl.h> +#include <linux/printk.h> #include "init.h" #include "micro-support-card.h"
arch/riscv/lib/smp.c +1 -0
@@ -10,6 +10,7 @@#include <asm/barrier.h> #include <asm/global_data.h> #include <asm/smp.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
arch/x86/cpu/tangier/pinmux.c +1 -0
@@ -13,6 +13,7 @@#include <asm/cpu.h> #include <asm/scu.h> #include <linux/io.h> +#include <linux/printk.h> #define BUFCFG_OFFSET 0x100
arch/x86/cpu/tangier/sdram.c +1 -0
@@ -9,6 +9,7 @@#include <asm/e820.h> #include <asm/global_data.h> #include <asm/sfi.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
board/dhelectronics/dh_stm32mp1/board.c +1 -0
@@ -34,6 +34,7 @@#include <phy.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/regulator.h> #include <remoteproc.h> #include <reset.h>
board/mediatek/mt8518/mt8518_ap1.c +1 -0
@@ -8,6 +8,7 @@#include <init.h> #include <log.h> #include <asm/global_data.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
board/mscc/ocelot/ocelot.c +1 -0
@@ -16,6 +16,7 @@#include <wait_bit.h> #include <miiphy.h> #include <linux/bitops.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
board/nvidia/jetson-tk1/jetson-tk1.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <dm.h> #include <log.h> +#include <linux/printk.h> #include <power/as3722.h> #include <power/pmic.h>
board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c +1 -0
@@ -12,6 +12,7 @@#include <asm/arch-rockchip/grf_rk3399.h> #include <asm/arch-rockchip/hardware.h> #include <asm/arch-rockchip/misc.h> +#include <linux/printk.h> #include <power/regulator.h> #define GRF_IO_VSEL_BT565_SHIFT 0
board/samsung/common/exynos5-dt.c +1 -0
@@ -26,6 +26,7 @@#include <asm/arch/pinmux.h> #include <asm/arch/power.h> #include <asm/arch/sromc.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/max77686_pmic.h> #include <power/regulator.h>
board/samsung/common/misc.c +1 -0
@@ -10,6 +10,7 @@#include <libtizen.h> #include <asm/global_data.h> #include <linux/delay.h> +#include <linux/printk.h> #include <samsung/misc.h> #include <errno.h> #include <version.h>
board/samsung/goni/goni.c +1 -0
@@ -13,6 +13,7 @@#include <asm/arch/mmc.h> #include <dm.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/pmic.h> #include <usb/dwc2_udc.h> #include <asm/arch/cpu.h>
board/samsung/odroid/odroid.c +1 -0
@@ -15,6 +15,7 @@#include <asm/arch/cpu.h> #include <dm.h> #include <env.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/max77686_pmic.h>
board/st/common/stm32mp_dfu.c +1 -0
@@ -14,6 +14,7 @@#include <mtd.h> #include <mtd_node.h> #include <asm/arch/stm32prog.h> +#include <linux/printk.h> #define DFU_ALT_BUF_LEN SZ_1K
board/st/stm32mp1/stm32mp1.c +1 -0
@@ -44,6 +44,7 @@#include <linux/delay.h> #include <linux/err.h> #include <linux/iopoll.h> +#include <linux/printk.h> #include <power/regulator.h> #include <usb/dwc2_udc.h>
board/sunxi/board.c +1 -0
@@ -33,6 +33,7 @@#include <asm/arch/sys_proto.h> #include <asm/global_data.h> #include <linux/delay.h> +#include <linux/printk.h> #ifndef CONFIG_ARM64 #include <asm/armv7.h> #endif
board/synopsys/hsdk/clk-lib.c +1 -0
@@ -8,6 +8,7 @@#include <log.h> #include <malloc.h> #include <dm/device.h> +#include <linux/printk.h> #include "clk-lib.h"
board/synopsys/hsdk/env-lib.c +1 -0
@@ -7,6 +7,7 @@#include "env-lib.h" #include <env.h> #include <log.h> +#include <linux/printk.h> #define MAX_CMD_LEN 25
board/ti/am65x/evm.c +1 -0
@@ -20,6 +20,7 @@#include <asm/omap_common.h> #include <env.h> #include <spl.h> +#include <linux/printk.h> #include "../common/board_detect.h"
board/ti/common/board_detect.c +1 -0
@@ -19,6 +19,7 @@#include <mmc.h> #include <errno.h> #include <malloc.h> +#include <linux/printk.h> #include "board_detect.h"
board/ti/j721e/evm.c +1 -0
@@ -22,6 +22,7 @@#include <spl.h> #include <dm.h> #include <dm/uclass-internal.h> +#include <linux/printk.h> #include "../common/board_detect.h"
board/toradex/apalis-tk1/apalis-tk1.c +1 -0
@@ -17,6 +17,7 @@#include <fdt_support.h> #include <pci_tegra.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/as3722.h> #include <power/pmic.h>
cmd/adc.c +1 -0
@@ -7,6 +7,7 @@#include <command.h> #include <dm.h> #include <adc.h> +#include <linux/printk.h> static int do_adc_list (struct cmd_tbl *cmdtp,int flag,int argc,char *const argv[])
cmd/fastboot.c +1 -0
@@ -14,6 +14,7 @@#include <net.h> #include <usb.h> #include <watchdog.h> +#include <linux/printk.h> #include <linux/stringify.h> static int do_fastboot_udp(int argc, char *const argv[],
cmd/nvedit.c +1 -0
@@ -36,6 +36,7 @@#include <mapmem.h> #include <asm/global_data.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <u-boot/crc.h> #include <linux/stddef.h> #include <asm/byteorder.h>
cmd/onenand.c +1 -0
@@ -12,6 +12,7 @@#include <common.h> #include <command.h> #include <malloc.h> +#include <linux/printk.h> #include <linux/compat.h> #include <linux/mtd/mtd.h>
cmd/regulator.c +1 -0
@@ -8,6 +8,7 @@#include <errno.h> #include <dm.h> #include <dm/uclass-internal.h> +#include <linux/printk.h> #include <power/regulator.h> #define LIMIT_DEVNAME 20
cmd/thordown.c +1 -0
@@ -12,6 +12,7 @@#include <dfu.h> #include <g_dnl.h> #include <usb.h> +#include <linux/printk.h> int do_thor_down (struct cmd_tbl *cmdtp,int flag,int argc,char *const argv[]) {
cmd/tpm_test.c +1 -0
@@ -8,6 +8,7 @@#include <cpu_func.h> #include <log.h> #include <tpm-v1.h> +#include <linux/printk.h> #include "tpm-user-utils.h" #include <tpm_api.h>
cmd/usb_gadget_sdp.c +1 -0
@@ -11,6 +11,7 @@#include <g_dnl.h> #include <sdp.h> #include <usb.h> +#include <linux/printk.h> static int do_sdp (struct cmd_tbl *cmdtp,int flag,int argc,char *const argv[]) {
cmd/usb_mass_storage.c +1 -0
@@ -18,6 +18,7 @@#include <usb_mass_storage.h> #include <watchdog.h> #include <linux/delay.h> +#include <linux/printk.h> static int ums_read_sector (struct ums *ums_dev,ulong start,lbaint_t blkcnt,void *buf)
common/dfu.c +1 -0
@@ -19,6 +19,7 @@#include <g_dnl.h> #include <usb.h> #include <net.h> +#include <linux/printk.h> int run_usb_dnl_gadget (int usbctrl_index,char *usb_dnl_gadget) {
common/spl/spl_dfu.c +1 -0
@@ -15,6 +15,7 @@#include <g_dnl.h> #include <usb.h> #include <dfu.h> +#include <linux/printk.h> static int run_dfu (int usb_index,char *interface,char *devstring) {
common/spl/spl_fit.c +1 -0
@@ -17,6 +17,7 @@#include <asm/cache.h> #include <asm/global_data.h> #include <linux/libfdt.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
common/spl/spl_opensbi.c +1 -0
@@ -15,6 +15,7 @@#include <asm/smp.h> #include <opensbi.h> #include <linux/libfdt.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
common/spl/spl_sdp.c +1 -0
@@ -10,6 +10,7 @@#include <usb.h> #include <g_dnl.h> #include <sdp.h> +#include <linux/printk.h> static int spl_sdp_load_image (struct spl_image_info *spl_image,struct spl_boot_device *bootdev)
common/update.c +1 -0
@@ -9,6 +9,7 @@#include <common.h> #include <cpu_func.h> #include <image.h> +#include <linux/printk.h> #include <command.h> #include <env.h>
disk/part_efi.c +1 -0
@@ -29,6 +29,7 @@#include <dm/ofnode.h> #include <linux/compiler.h> #include <linux/ctype.h> +#include <linux/printk.h> #include <u-boot/crc.h> /* GUID for basic data partitons */
drivers/adc/adc-uclass.c +1 -0
@@ -15,6 +15,7 @@#include <dm/uclass-internal.h> #include <adc.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/regulator.h> #define ADC_UCLASS_PLATDATA_SIZE sizeof(struct adc_uclass_plat)
drivers/adc/exynos-adc.c +1 -0
@@ -8,6 +8,7 @@#include <dm.h> #include <adc.h> #include <asm/arch/adc.h> +#include <linux/printk.h> struct exynos_adc_priv {int active_channel;
drivers/adc/meson-saradc.c +1 -0
@@ -18,6 +18,7 @@#include <linux/delay.h> #include <linux/math64.h> #include <linux/bitfield.h> +#include <linux/printk.h> #include <power/regulator.h> #define MESON_SAR_ADC_REG0 0x00
drivers/adc/rockchip-saradc.c +1 -0
@@ -13,6 +13,7 @@#include <asm/io.h> #include <linux/bitops.h> #include <linux/err.h> +#include <linux/printk.h> #include <power/regulator.h> #define SARADC_CTRL_CHN_MASK GENMASK(2, 0)
drivers/adc/sandbox.c +1 -0
@@ -8,6 +8,7 @@#include <dm.h> #include <adc.h> #include <sandbox-adc.h> +#include <linux/printk.h> /** * struct sandbox_adc_priv - sandbox ADC device's operation status and data
drivers/ata/dwc_ahci.c +1 -0
@@ -18,6 +18,7 @@#endif #include <asm/io.h> #include <generic-phy.h> +#include <linux/printk.h> struct dwc_ahci_priv {void *base;
drivers/bios_emulator/include/x86emu/debug.h +1 -0
@@ -43,6 +43,7 @@/* checks to be enabled for "runtime" */ +#include <linux/printk.h> #define CHECK_IP_FETCH_F 0x1#define CHECK_SP_ACCESS_F 0x2#define CHECK_MEM_ACCESS_F 0x4/*using regular linear pointer */
drivers/bios_emulator/include/x86emu/regs.h +1 -0
@@ -41,6 +41,7 @@/*---------------------- Macros and type definitions ----------------------*/ +#include <linux/printk.h> #pragma pack(1)/*
drivers/bios_emulator/x86emu/debug.c +1 -0
@@ -40,6 +40,7 @@#include <stdarg.h> #include <common.h> #include <linux/ctype.h> +#include <linux/printk.h> #include "x86emu/x86emui.h" /*----------------------------- Implementation ----------------------------*/
drivers/bios_emulator/x86emu/decode.c +1 -0
@@ -37,6 +37,7 @@* ****************************************************************************/ #include <common.h> +#include <linux/printk.h> #include "x86emu/x86emui.h" /*----------------------------- Implementation ----------------------------*/
drivers/bios_emulator/x86emu/ops.c +1 -0
@@ -73,6 +73,7 @@****************************************************************************/ #include <common.h> +#include <linux/printk.h> #include "x86emu/x86emui.h" /*----------------------------- Implementation ----------------------------*/
drivers/bios_emulator/x86emu/ops2.c +1 -0
@@ -43,6 +43,7 @@#include <common.h> #include <linux/compiler.h> +#include <linux/printk.h> #include "x86emu/x86emui.h" /*----------------------------- Implementation ----------------------------*/
drivers/bios_emulator/x86emu/sys.c +1 -0
@@ -40,6 +40,7 @@****************************************************************************/ #include <common.h> +#include <linux/printk.h> #include "x86emu/x86emui.h" /*------------------------- Global Variables ------------------------------*/
drivers/bootcount/bootcount-uclass.c +1 -0
@@ -10,6 +10,7 @@#include <errno.h> #include <bootcount.h> #include <log.h> +#include <linux/printk.h> int dm_bootcount_get (struct udevice *dev,u32 *bootcount) {
drivers/clk/analogbits/wrpll-cln28hpc.c +1 -0
@@ -26,6 +26,7 @@#include <linux/log2.h> #include <linux/math64.h> #include <linux/clk/analogbits-wrpll-cln28hpc.h> +#include <linux/printk.h> /* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */ #define MIN_INPUT_FREQ 7000000
drivers/clk/clk-divider.c +1 -0
@@ -28,6 +28,7 @@#include <linux/log2.h> #include <div64.h> #include <clk.h> +#include <linux/printk.h> #include "clk.h" #define UBOOT_DM_CLK_CCF_DIVIDER "ccf_clk_divider"
drivers/clk/clk-gate.c +1 -0
@@ -21,6 +21,7 @@#include <linux/bitops.h> #include <linux/clk-provider.h> #include <linux/err.h> +#include <linux/printk.h> #include "clk.h"
drivers/clk/clk-hsdk-cgu.c +1 -0
@@ -19,6 +19,7 @@#include <linux/delay.h> #include <linux/io.h> #include <asm/arcregs.h> +#include <linux/printk.h> #include <dt-bindings/clock/snps,hsdk-cgu.h>
drivers/clk/clk-mux.c +1 -0
@@ -36,6 +36,7 @@#include <linux/bitops.h> #include <linux/clk-provider.h> #include <linux/err.h> +#include <linux/printk.h> #include "clk.h"
drivers/clk/clk_boston.c +1 -0
@@ -10,6 +10,7 @@#include <regmap.h> #include <syscon.h> #include <linux/bitops.h> +#include <linux/printk.h> struct clk_boston {struct regmap *regmap;
drivers/clk/imx/clk-pll14xx.c +1 -0
@@ -18,6 +18,7 @@#include <linux/iopoll.h> #include <clk.h> #include <div64.h> +#include <linux/printk.h> #include "clk.h"
drivers/clk/rockchip/clk_rk3368.c +1 -0
@@ -23,6 +23,7 @@#include <dm/lists.h> #include <dt-bindings/clock/rk3368-cru.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/stringify.h> #if CONFIG_IS_ENABLED (OF_PLATDATA )
drivers/clk/rockchip/clk_rk3399.c +1 -0
@@ -24,6 +24,7 @@#include <dt-bindings/clock/rk3399-cru.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/core/device.c +1 -0
@@ -33,6 +33,7 @@#include <linux/err.h> #include <linux/list.h> #include <power-domain.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/core/of_addr.c +1 -0
@@ -14,6 +14,7 @@#include <dm/of_addr.h> #include <linux/err.h> #include <linux/ioport.h> +#include <linux/printk.h> /* Max address size we deal with */ #define OF_MAX_ADDR_CELLS 4
drivers/core/root.c +1 -0
@@ -29,6 +29,7 @@#include <dm/uclass-internal.h> #include <dm/util.h> #include <linux/list.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/dfu/dfu.c +1 -0
@@ -17,6 +17,7 @@#include <hash.h> #include <linux/list.h> #include <linux/compiler.h> +#include <linux/printk.h> LIST_HEAD (dfu_list);static int dfu_alt_num;
drivers/dfu/dfu_mmc.c +1 -0
@@ -17,6 +17,7 @@#include <mmc.h> #include <part.h> #include <command.h> +#include <linux/printk.h> static unsigned char *dfu_file_buf;static u64 dfu_file_buf_len;
drivers/dfu/dfu_ram.c +1 -0
@@ -13,6 +13,7 @@#include <mapmem.h> #include <errno.h> #include <dfu.h> +#include <linux/printk.h> static int dfu_transfer_medium_ram (enum dfu_op op,struct dfu_entity *dfu,u64 offset,void *buf,long *len)
drivers/dma/bcm6348-iudma.c +1 -0
@@ -28,6 +28,7 @@#include <asm/io.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #define DMA_RX_DESC 6#define DMA_TX_DESC 1
drivers/dma/dma-uclass.c +1 -0
@@ -22,6 +22,7 @@#include <linux/dma-mapping.h> #include <dt-structs.h> #include <errno.h> +#include <linux/printk.h> #ifdef CONFIG_DMA_CHANNELS static inline struct dma_ops *dma_dev_ops (struct udevice *dev)
drivers/dma/lpc32xx_dma.c +1 -0
@@ -17,6 +17,7 @@#include <asm/io.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> /* DMA controller channel register structure */ struct dmac_chan_reg {
drivers/dma/sandbox-dma-test.c +1 -0
@@ -15,6 +15,7 @@#include <dma-uclass.h> #include <dt-structs.h> #include <errno.h> +#include <linux/printk.h> #define SANDBOX_DMA_CH_CNT 3#define SANDBOX_DMA_BUF_SIZE 1024
drivers/dma/ti-edma3.c +1 -0
@@ -16,6 +16,7 @@#include <linux/dma-mapping.h> #include <asm/omap_common.h> #include <asm/ti-common/ti-edma3.h> +#include <linux/printk.h> #define EDMA3_SL_BASE (slot) (0x4000 + ((slot) << 5))#define EDMA3_SL_MAX_NUM 512
drivers/dma/ti/k3-udma.c +1 -0
@@ -25,6 +25,7 @@#include <linux/delay.h> #include <linux/bitmap.h> #include <linux/err.h> +#include <linux/printk.h> #include <linux/soc/ti/k3-navss-ringacc.h> #include <linux/soc/ti/cppi5.h> #include <linux/soc/ti/ti-udma.h>
drivers/fastboot/fb_command.c +1 -0
@@ -12,6 +12,7 @@#include <fb_nand.h> #include <part.h> #include <stdlib.h> +#include <linux/printk.h> /** * image_size - final fastboot image size
drivers/fastboot/fb_getvar.c +1 -0
@@ -12,6 +12,7 @@#include <fs.h> #include <part.h> #include <version.h> +#include <linux/printk.h> static void getvar_version (char *var_parameter,char *response);static void getvar_version_bootloader (char *var_parameter,char *response);
drivers/fastboot/fb_mmc.c +1 -0
@@ -18,6 +18,7 @@#include <div64.h> #include <linux/compat.h> #include <android_image.h> +#include <linux/printk.h> #define BOOT_PARTITION_NAME "boot"
drivers/fastboot/fb_nand.c +1 -0
@@ -11,6 +11,7 @@#include <fastboot.h> #include <image-sparse.h> +#include <linux/printk.h> #include <linux/mtd/mtd.h> #include <jffs2/jffs2.h> #include <nand.h>
drivers/i2c/i2c-gpio.c +1 -0
@@ -12,6 +12,7 @@#include <log.h> #include <asm/gpio.h> #include <linux/delay.h> +#include <linux/printk.h> #define DEFAULT_UDELAY 5#define RETRIES 0
drivers/i2c/iproc_i2c.c +1 -0
@@ -9,6 +9,7 @@#include <common.h> #include <config.h> #include <dm.h> +#include <linux/printk.h> #include "errno.h" #include <i2c.h> #include "iproc_i2c.h"
drivers/i2c/omap24xx_i2c.c +1 -0
@@ -43,6 +43,7 @@#include <i2c.h> #include <log.h> #include <linux/delay.h> +#include <linux/printk.h> #include <asm/io.h> #include <asm/omap_i2c.h>
drivers/i2c/stm32f7_i2c.c +1 -0
@@ -19,6 +19,7 @@#include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> +#include <linux/printk.h> /* STM32 I2C registers */ struct stm32_i2c_regs {
drivers/i2c/tegra_i2c.c +1 -0
@@ -21,6 +21,7 @@#include <asm/arch-tegra/tegra_i2c.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> enum i2c_type {TYPE_114 ,
drivers/misc/sifive-otp.c +1 -0
@@ -24,6 +24,7 @@#include <linux/delay.h> #include <linux/io.h> #include <misc.h> +#include <linux/printk.h> #define BYTES_PER_FUSE 4
drivers/misc/tegra186_bpmp.c +1 -0
@@ -17,6 +17,7 @@#include <asm/arch-tegra/ivc.h> #include <linux/bitops.h> #include <linux/err.h> +#include <linux/printk.h> #define BPMP_IVC_FRAME_COUNT 1#define BPMP_IVC_FRAME_SIZE 128
drivers/mmc/exynos_dw_mmc.c +1 -0
@@ -16,6 +16,7 @@#include <asm/arch/pinmux.h> #include <asm/arch/power.h> #include <asm/gpio.h> +#include <linux/printk.h> #define DWMMC_MAX_CH_NUM 4#define DWMMC_MAX_FREQ 52000000
drivers/mmc/fsl_esdhc_imx.c +1 -0
@@ -26,6 +26,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> #include <power/regulator.h> #include <malloc.h> #include <fsl_esdhc_imx.h>
drivers/mmc/mmc.c +1 -0
@@ -19,6 +19,7 @@#include <part.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/regulator.h> #include <malloc.h> #include <memalign.h>
drivers/mmc/mtk-sd.c +1 -0
@@ -20,6 +20,7 @@#include <linux/bitops.h> #include <linux/io.h> #include <linux/iopoll.h> +#include <linux/printk.h> /* MSDC_CFG */ #define MSDC_CFG_HS400_CK_MODE_EXT BIT(22)
drivers/mmc/sdhci.c +1 -0
@@ -19,6 +19,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/dma-mapping.h> +#include <linux/printk.h> #include <phys2bus.h> #include <power/regulator.h>
drivers/mmc/sti_sdhci.c +1 -0
@@ -12,6 +12,7 @@#include <sdhci.h> #include <asm/arch/sdhci.h> #include <asm/global_data.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/mmc/stm32_sdmmc2.c +1 -0
@@ -27,6 +27,7 @@#include <linux/iopoll.h> #include <power/regulator.h> #include <watchdog.h> +#include <linux/printk.h> struct stm32_sdmmc2_plat {struct mmc_config cfg;
drivers/mmc/xenon_sdhci.c +1 -0
@@ -23,6 +23,7 @@#include <linux/libfdt.h> #include <malloc.h> #include <sdhci.h> +#include <linux/printk.h> #include <power/regulator.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/mtd/mtdconcat.c +1 -0
@@ -23,6 +23,7 @@#include <div64.h> #include <linux/bug.h> #include <linux/compat.h> +#include <linux/printk.h> #endif #include <linux/mtd/mtd.h>
drivers/mtd/mtdcore.c +1 -0
@@ -30,6 +30,7 @@#include <linux/bug.h> #include <linux/err.h> #include <ubi_uboot.h> +#include <linux/printk.h> #endif #include <linux/log2.h>
drivers/mtd/mtdpart.c +1 -0
@@ -25,6 +25,7 @@#include <linux/errno.h> #include <linux/compat.h> #include <ubi_uboot.h> +#include <linux/printk.h> #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h>
drivers/mtd/nand/bbt.c +1 -0
@@ -16,6 +16,7 @@#ifndef __UBOOT__#include <linux/slab.h> #endif +#include <linux/printk.h> /** * nanddev_bbt_init() - Initialize the BBT (Bad Block Table)
drivers/mtd/nand/core.c +1 -0
@@ -17,6 +17,7 @@#endif #include <linux/bitops.h> #include <linux/mtd/nand.h> +#include <linux/printk.h> /** * nanddev_isbad() - Check if a block is bad
drivers/mtd/nand/raw/arasan_nfc.c +1 -0
@@ -18,6 +18,7 @@#include <asm/arch/sys_proto.h> #include <dm.h> #include <nand.h> +#include <linux/printk.h> struct nand_config {u32 page;
drivers/mtd/nand/raw/atmel_nand.c +1 -0
@@ -19,6 +19,7 @@#include <linux/bitops.h> #include <linux/bug.h> #include <linux/delay.h> +#include <linux/printk.h> #include <malloc.h> #include <nand.h>
drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c +1 -0
@@ -10,6 +10,7 @@#include <linux/io.h> #include <linux/ioport.h> #include <dm.h> +#include <linux/printk.h> #include "brcmnand.h"
drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c +1 -0
@@ -9,6 +9,7 @@#include <linux/io.h> #include <linux/ioport.h> #include <dm.h> +#include <linux/printk.h> #include "brcmnand.h"
drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c +1 -0
@@ -9,6 +9,7 @@#include <linux/io.h> #include <linux/ioport.h> #include <dm.h> +#include <linux/printk.h> #include "brcmnand.h"
drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c +1 -0
@@ -10,6 +10,7 @@#include <linux/io.h> #include <linux/ioport.h> #include <dm.h> +#include <linux/printk.h> #include "brcmnand.h"
drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c +1 -0
@@ -10,6 +10,7 @@#include <linux/io.h> #include <linux/ioport.h> #include <dm.h> +#include <linux/printk.h> #include "brcmnand.h"
drivers/mtd/nand/raw/davinci_nand.c +1 -0
@@ -35,6 +35,7 @@#include <nand.h> #include <dm/uclass.h> #include <asm/ti-common/davinci_nand.h> +#include <linux/printk.h> /* Definitions for 4-bit hardware ECC */ #define NAND_TIMEOUT 10240
drivers/mtd/nand/raw/lpc32xx_nand_mlc.c +1 -0
@@ -28,6 +28,7 @@#include <nand.h> #include <asm/arch/clk.h> #include <asm/arch/sys_proto.h> +#include <linux/printk.h> /* * MLC NAND controller registers.
drivers/mtd/nand/raw/lpc32xx_nand_slc.c +1 -0
@@ -23,6 +23,7 @@#include <asm/arch/sys_proto.h> #include <asm/arch/dma.h> #include <asm/arch/cpu.h> +#include <linux/printk.h> struct lpc32xx_nand_slc_regs {u32 data;
drivers/mtd/nand/raw/mxc_nand.c +1 -0
@@ -15,6 +15,7 @@#if defined(CONFIG_MX51 ) || defined(CONFIG_MX53 )#include <asm/arch/imx-regs.h> #endif +#include <linux/printk.h> #include "mxc_nand.h" #define DRIVER_NAME "mxc_nand"
drivers/mtd/nand/raw/nand_base.c +1 -0
@@ -47,6 +47,7 @@#endif #include <asm/io.h> #include <linux/errno.h> +#include <linux/printk.h> /* Define default oob placement schemes for large and small page devices */ #ifndef CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT
drivers/mtd/nand/raw/nand_bbt.c +1 -0
@@ -67,6 +67,7 @@#include <linux/mtd/bbm.h> #include <linux/mtd/rawnand.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <linux/string.h> #define BBT_BLOCK_GOOD 0x00
drivers/mtd/nand/raw/nand_bch.c +1 -0
@@ -10,6 +10,7 @@#include <common.h> #include <log.h> #include <dm/devres.h> +#include <linux/printk.h> /*#include <asm/io.h>*/ #include <linux/types.h>
drivers/mtd/nand/raw/pxa3xx_nand.c +1 -0
@@ -22,6 +22,7 @@#include <asm/arch/cpu.h> #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h> +#include <linux/printk.h> #include <linux/types.h> #include <syscon.h> #include <regmap.h>
drivers/mtd/nand/raw/stm32_fmc2_nand.c +1 -0
@@ -21,6 +21,7 @@#include <linux/iopoll.h> #include <linux/ioport.h> #include <linux/mtd/rawnand.h> +#include <linux/printk.h> /* Bad block marker length */ #define FMC2_BBM_LEN 2
drivers/mtd/nand/raw/sunxi_nand.c +1 -0
@@ -36,6 +36,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> #include <linux/kernel.h> #include <linux/mtd/mtd.h>
drivers/mtd/nand/raw/tegra_nand.c +1 -0
@@ -24,6 +24,7 @@#include <fdtdec.h> #include <bouncebuf.h> #include <dm.h> +#include <linux/printk.h> #include "tegra_nand.h" DECLARE_GLOBAL_DATA_PTR ;
drivers/mtd/nand/raw/vf610_nfc.c +1 -0
@@ -24,6 +24,7 @@#include <common.h> #include <malloc.h> #include <dm/device_compat.h> +#include <linux/printk.h> #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h>
drivers/mtd/nand/raw/zynq_nand.c +1 -0
@@ -21,6 +21,7 @@#include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <dm.h> +#include <linux/printk.h> /* The NAND flash driver defines */ #define ZYNQ_NAND_CMD_PHASE 1
drivers/mtd/nand/spi/core.c +1 -0
@@ -30,6 +30,7 @@#include <linux/bitops.h> #include <linux/bug.h> #include <linux/mtd/spinand.h> +#include <linux/printk.h> #endif /* SPI NAND index visible in MTD names */
drivers/mtd/onenand/onenand_base.c +1 -0
@@ -26,6 +26,7 @@#include <linux/bitops.h> #include <linux/compat.h> #include <linux/mtd/mtd.h> +#include <linux/printk.h> #include "linux/mtd/flashchip.h" #include <linux/mtd/onenand.h>
drivers/mtd/onenand/onenand_bbt.c +1 -0
@@ -20,6 +20,7 @@#include <linux/mtd/mtd.h> #include <linux/mtd/onenand.h> #include <malloc.h> +#include <linux/printk.h> #include <linux/errno.h>
drivers/mtd/onenand/samsung.c +1 -0
@@ -16,6 +16,7 @@#include <linux/mtd/onenand.h> #include <linux/mtd/flashchip.h> #include <linux/mtd/samsung_onenand.h> +#include <linux/printk.h> #include <asm/io.h> #include <linux/errno.h>
drivers/mtd/spi/spi-nor-core.c +1 -0
@@ -21,6 +21,7 @@#include <linux/errno.h> #include <linux/log2.h> #include <linux/math64.h> +#include <linux/printk.h> #include <linux/sizes.h> #include <linux/bitfield.h> #include <linux/delay.h>
drivers/mtd/spi/spi-nor-tiny.c +1 -0
@@ -16,6 +16,7 @@#include <linux/errno.h> #include <linux/log2.h> #include <linux/math64.h> +#include <linux/printk.h> #include <linux/sizes.h> #include <linux/mtd/mtd.h>
drivers/mtd/ubi/attach.c +1 -0
@@ -81,6 +81,7 @@#include <div64.h> #include <linux/bug.h> #include <linux/err.h> +#include <linux/printk.h> #endif #include <linux/math64.h>
drivers/mtd/ubi/build.c +1 -0
@@ -33,6 +33,7 @@#else #include <linux/bug.h> #include <linux/log2.h> +#include <linux/printk.h> #endif #include <linux/err.h> #include <ubi_uboot.h>
drivers/mtd/ubi/debug.c +1 -0
@@ -8,6 +8,7 @@#include <hexdump.h> #include <malloc.h> #include <ubi_uboot.h> +#include <linux/printk.h> #include "ubi.h" #ifndef __UBOOT__#include <linux/debugfs.h>
drivers/mtd/ubi/debug.h +1 -0
@@ -17,6 +17,7 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);#endif #include <hexdump.h> +#include <linux/printk.h> #ifndef __UBOOT__#define ubi_assert (expr) do { \
drivers/mtd/ubi/ubi.h +1 -0
@@ -28,6 +28,7 @@#include <asm/pgtable.h> #else #include <ubi_uboot.h> +#include <linux/printk.h> #endif #include <linux/mtd/mtd.h> #include <linux/mtd/ubi.h>
drivers/net/bcm-sf2-eth-gmac.c +1 -0
@@ -6,6 +6,7 @@#ifdef BCM_GMAC_DEBUG #ifndef DEBUG #define DEBUG +#include <linux/printk.h> #endif #endif
drivers/net/bcm-sf2-eth.c +1 -0
@@ -9,6 +9,7 @@#include <net.h> #include <config.h> #include <linux/delay.h> +#include <linux/printk.h> #include <phy.h> #include <miiphy.h>
drivers/net/bcm6348-eth.c +1 -0
@@ -18,6 +18,7 @@#include <reset.h> #include <wait_bit.h> #include <asm/io.h> +#include <linux/printk.h> #define ETH_RX_DESC PKTBUFSRX#define ETH_MAX_MTU_SIZE 1518
drivers/net/bcm6368-eth.c +1 -0
@@ -19,6 +19,7 @@#include <asm/io.h> #include <dm/device_compat.h> #include <linux/delay.h> +#include <linux/printk.h> #define ETH_PORT_STR "brcm,enetsw-port"
drivers/net/designware.c +1 -0
@@ -29,6 +29,7 @@#include <linux/err.h> #include <linux/kernel.h> #include <asm/io.h> +#include <linux/printk.h> #include <power/regulator.h> #include "designware.h"
drivers/net/dwc_eth_qos.c +1 -0
@@ -52,6 +52,7 @@#include <asm/mach-imx/sys_proto.h> #endif #include <linux/delay.h> +#include <linux/printk.h> #include "dwc_eth_qos.h"
drivers/net/fsl-mc/dpio/qbman_sys.h +1 -0
@@ -21,6 +21,7 @@/* Trace the 3 different classes of read/write access to QBMan. #undef as * required. */ #include <linux/bug.h> +#include <linux/printk.h> #undef QBMAN_CCSR_TRACE#undef QBMAN_CINH_TRACE#undef QBMAN_CENA_TRACE
drivers/net/ftgmac100.c +1 -0
@@ -25,6 +25,7 @@#include <linux/bitops.h> #include <linux/io.h> #include <linux/iopoll.h> +#include <linux/printk.h> #include "ftgmac100.h"
drivers/net/mscc_eswitch/jr2_switch.c +1 -0
@@ -17,6 +17,7 @@#include <miiphy.h> #include <net.h> #include <wait_bit.h> +#include <linux/printk.h> #include <dt-bindings/mscc/jr2_data.h> #include "mscc_xfer.h"
drivers/net/mscc_eswitch/ocelot_switch.c +1 -0
@@ -17,6 +17,7 @@#include <miiphy.h> #include <net.h> #include <wait_bit.h> +#include <linux/printk.h> #include "mscc_xfer.h" #include "mscc_mac_table.h"
drivers/net/mscc_eswitch/serval_switch.c +1 -0
@@ -17,6 +17,7 @@#include <miiphy.h> #include <net.h> #include <wait_bit.h> +#include <linux/printk.h> #include "mscc_xfer.h" #include "mscc_mac_table.h"
drivers/net/mscc_eswitch/servalt_switch.c +1 -0
@@ -16,6 +16,7 @@#include <miiphy.h> #include <net.h> #include <wait_bit.h> +#include <linux/printk.h> #include "mscc_xfer.h" #include "mscc_miim.h"
drivers/net/mt7628-eth.c +1 -0
@@ -28,6 +28,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> /* Ethernet frame engine register */ #define PDMA_RELATED 0x0800
drivers/net/mtk_eth.c +1 -0
@@ -26,6 +26,7 @@#include <linux/ioport.h> #include <linux/mdio.h> #include <linux/mii.h> +#include <linux/printk.h> #include "mtk_eth.h"
drivers/net/mvmdio.c +1 -0
@@ -13,6 +13,7 @@#include <asm/io.h> #include <wait_bit.h> #include <linux/bitops.h> +#include <linux/printk.h> #define MVMDIO_SMI_DATA_SHIFT 0#define MVMDIO_SMI_PHY_ADDR_SHIFT 16
drivers/net/phy/dp83867.c +1 -0
@@ -10,6 +10,7 @@#include <linux/bitops.h> #include <linux/compat.h> #include <malloc.h> +#include <linux/printk.h> #include <dm.h> #include <dt-bindings/net/ti-dp83867.h>
drivers/net/phy/mscc.c +1 -0
@@ -15,6 +15,7 @@#include <time.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> /* Microsemi PHY ID's */ #define PHY_ID_VSC8530 0x00070560
drivers/net/rtl8169.c +1 -0
@@ -51,6 +51,7 @@#include <asm/io.h> #include <pci.h> #include <linux/delay.h> +#include <linux/printk.h> #undef DEBUG_RTL8169#undef DEBUG_RTL8169_TX
drivers/net/sni_ave.c +1 -0
@@ -23,6 +23,7 @@#include <linux/err.h> #include <linux/io.h> #include <linux/iopoll.h> +#include <linux/printk.h> #define AVE_GRST_DELAY_MSEC 40#define AVE_MIN_XMITSIZE 60
drivers/net/ti/am65-cpsw-nuss.c +1 -0
@@ -28,6 +28,7 @@#include <syscon.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/soc/ti/ti-udma.h> #include "cpsw_mdio.h"
drivers/net/ti/cpsw-common.c +1 -0
@@ -12,6 +12,7 @@#include <asm/io.h> #include <cpsw.h> #include <dm/device_compat.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/net/ti/cpsw.c +1 -0
@@ -24,6 +24,7 @@#include <phy.h> #include <asm/arch/cpu.h> #include <dm.h> +#include <linux/printk.h> #include "cpsw_mdio.h"
drivers/net/ti/keystone_net.c +1 -0
@@ -10,6 +10,7 @@#include <console.h> #include <asm/global_data.h> #include <linux/delay.h> +#include <linux/printk.h> #include <dm.h> #include <dm/lists.h>
drivers/pci/pci-uclass.c +1 -0
@@ -24,6 +24,7 @@#endif #include <dt-bindings/pci/pci.h> #include <linux/delay.h> +#include <linux/printk.h> #include "pci_internal.h" DECLARE_GLOBAL_DATA_PTR ;
drivers/pci/pci_mvebu.c +1 -0
@@ -28,6 +28,7 @@#include <linux/errno.h> #include <linux/ioport.h> #include <linux/mbus.h> +#include <linux/printk.h> #include <linux/sizes.h> /* PCIe unit register offsets */
drivers/pci/pci_tegra.c +1 -0
@@ -22,6 +22,7 @@#include <power-domain.h> #include <reset.h> #include <linux/delay.h> +#include <linux/printk.h> #include <asm/io.h> #include <asm/gpio.h>
drivers/pci/pcie_ecam_generic.c +1 -0
@@ -11,6 +11,7 @@#include <dm.h> #include <pci.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <asm/io.h>
drivers/pci/pcie_fsl.c +1 -0
@@ -16,6 +16,7 @@#include <asm/global_data.h> #include <asm/io.h> #include <linux/delay.h> +#include <linux/printk.h> #include "pcie_fsl.h" #include <dm/device_compat.h>
drivers/pci/pcie_mediatek.c +1 -0
@@ -20,6 +20,7 @@#include <linux/bitops.h> #include <linux/iopoll.h> #include <linux/list.h> +#include <linux/printk.h> #include "pci_internal.h" /* PCIe shared registers */
drivers/pci/pcie_phytium.c +1 -0
@@ -12,6 +12,7 @@#include <pci.h> #include <asm/global_data.h> #include <asm/io.h> +#include <linux/printk.h> /** * struct phytium_pcie - phytium PCIe controller state
drivers/pci/pcie_xilinx.c +1 -0
@@ -10,6 +10,7 @@#include <pci.h> #include <asm/global_data.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <asm/io.h>
drivers/phy/keystone-usb-phy.c +1 -0
@@ -13,6 +13,7 @@#include <asm/arch/psc_defs.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> /* USB PHY control register offsets */ #define USB_PHY_CTL_UTMI 0x0000
drivers/phy/marvell/comphy_cp110.c +1 -0
@@ -12,6 +12,7 @@#include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <linux/delay.h> +#include <linux/printk.h> #include "comphy_core.h" #include "sata.h"
drivers/phy/meson-g12a-usb2.c +1 -0
@@ -17,6 +17,7 @@#include <generic-phy.h> #include <regmap.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/regulator.h> #include <reset.h> #include <clk.h>
drivers/phy/meson-g12a-usb3-pcie.c +1 -0
@@ -18,6 +18,7 @@#include <bitfield.h> #include <generic-phy.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/bitops.h> #include <linux/compat.h>
drivers/phy/meson-gxbb-usb2.c +1 -0
@@ -15,6 +15,7 @@#include <regmap.h> #include <reset.h> #include <linux/bitops.h> +#include <linux/printk.h> #define REG_CONFIG 0x00#define REG_CONFIG_CLK_EN BIT(0)
drivers/phy/meson-gxl-usb2.c +2 -1
@@ -11,12 +11,13 @@#include <malloc.h> #include <asm/io.h> #include <bitfield.h> +#include <clk.h> #include <dm.h> #include <errno.h> #include <generic-phy.h> #include <regmap.h> #include <linux/delay.h> -#include <clk.h> +#include <linux/printk.h> #include <linux/usb/otg.h> #include <asm/arch/usb-gx.h>
drivers/phy/phy-rcar-gen3.c +1 -0
@@ -17,6 +17,7 @@#include <usb.h> #include <asm/io.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <power/regulator.h> /* USB2.0 Host registers (original offset is +0x200) */
drivers/phy/phy-stm32-usbphyc.c +1 -0
@@ -23,6 +23,7 @@#include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/regulator.h> /* USBPHYC registers */
drivers/phy/phy-uclass.c +1 -0
@@ -12,6 +12,7 @@#include <dm/devres.h> #include <generic-phy.h> #include <linux/list.h> +#include <linux/printk.h> #include <power/regulator.h> /**
drivers/phy/sti_usb_phy.c +1 -0
@@ -18,6 +18,7 @@#include <reset-uclass.h> #include <syscon.h> #include <wait_bit.h> +#include <linux/printk.h> #include <linux/bitops.h> #include <linux/compat.h>
drivers/phy/ti-pipe3-phy.c +1 -0
@@ -16,6 +16,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> /* PLLCTRL Registers */ #define PLL_STATUS 0x00000004
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +1 -0
@@ -35,6 +35,7 @@#include <asm/io.h> #include <linux/bitops.h> #include <linux/libfdt.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/pinctrl/pinctrl-sti.c +1 -0
@@ -17,6 +17,7 @@#include <dm/pinctrl.h> #include <linux/bug.h> #include <linux/libfdt.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/pinctrl/pinctrl_stm32.c +1 -0
@@ -18,6 +18,7 @@#include <linux/bitops.h> #include <linux/err.h> #include <linux/libfdt.h> +#include <linux/printk.h> #include "../gpio/stm32_gpio_priv.h"
drivers/power/palmas.c +1 -0
@@ -5,6 +5,7 @@*/ #include <config.h> #include <palmas.h> +#include <linux/printk.h> void palmas_init_settings (void ) {
drivers/power/pmic/as3722.c +1 -0
@@ -12,6 +12,7 @@#include <i2c.h> #include <log.h> #include <dm/lists.h> +#include <linux/printk.h> #include <power/as3722.h> #include <power/pmic.h>
drivers/power/pmic/as3722_gpio.c +1 -0
@@ -6,6 +6,7 @@#include <common.h> #include <dm.h> #include <asm/gpio.h> +#include <linux/printk.h> #include <power/as3722.h> #include <power/pmic.h>
drivers/power/pmic/bd71837.c +1 -0
@@ -9,6 +9,7 @@#include <i2c.h> #include <log.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/bd71837.h>
drivers/power/pmic/da9063.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/da9063_pmic.h>
drivers/power/pmic/fan53555.c +1 -0
@@ -10,6 +10,7 @@#include <dm/device_compat.h> #include <dm/lists.h> #include <i2c.h> +#include <linux/printk.h> #include <power/fan53555.h> #include <power/pmic.h> #include <power/regulator.h>
drivers/power/pmic/i2c_pmic_emul.c +1 -0
@@ -10,6 +10,7 @@#include <i2c.h> #include <log.h> #include <malloc.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/sandbox_pmic.h>
drivers/power/pmic/lp873x.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/lp873x.h>
drivers/power/pmic/lp87565.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/lp87565.h>
drivers/power/pmic/max77686.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/max77686_pmic.h>
drivers/power/pmic/max8997.c +1 -0
@@ -7,6 +7,7 @@#include <common.h> #include <dm.h> #include <i2c.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/max8997_pmic.h> #include <errno.h>
drivers/power/pmic/max8998.c +1 -0
@@ -8,6 +8,7 @@#include <dm.h> #include <errno.h> #include <i2c.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/max8998_pmic.h>
drivers/power/pmic/palmas.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/palmas.h>
drivers/power/pmic/pca9450.c +1 -0
@@ -13,6 +13,7 @@#include <log.h> #include <asm/global_data.h> #include <asm-generic/gpio.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/pca9450.h>
drivers/power/pmic/pfuze100.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/pfuze100_pmic.h>
drivers/power/pmic/pmic_tps65910_dm.c +1 -0
@@ -7,6 +7,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/tps65910_pmic.h>
drivers/power/pmic/s2mps11.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/s2mps11.h>
drivers/power/pmic/s5m8767.c +1 -0
@@ -9,6 +9,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/s5m8767.h>
drivers/power/pmic/sandbox.c +1 -0
@@ -12,6 +12,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/sandbox_pmic.h>
drivers/power/pmic/tps65090.c +1 -0
@@ -10,6 +10,7 @@#include <fdtdec.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/tps65090.h>
drivers/power/pmic/tps65941.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/tps65941.h>
drivers/power/regulator/bd71837.c +1 -0
@@ -9,6 +9,7 @@#include <dm.h> #include <log.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <power/bd71837.h> #include <power/pmic.h> #include <power/regulator.h>
drivers/power/regulator/fan53555.c +1 -0
@@ -11,6 +11,7 @@#include <log.h> #include <asm/gpio.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <power/fan53555.h> #include <power/pmic.h> #include <power/regulator.h>
drivers/power/regulator/fixed.c +2 -0
@@ -11,8 +11,10 @@#include <dm.h> #include <linux/delay.h> #include <log.h> +#include <asm/gpio.h> #include <power/pmic.h> #include <power/regulator.h> +#include "regulator_common.h" #include "regulator_common.h"
drivers/power/regulator/gpio-regulator.c +2 -0
@@ -10,8 +10,10 @@#include <dm.h> #include <log.h> #include <asm/gpio.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> +#include "regulator_common.h" #include "regulator_common.h"
drivers/power/regulator/max77686.c +1 -0
@@ -10,6 +10,7 @@#include <fdtdec.h> #include <errno.h> #include <dm.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/max77686_pmic.h>
drivers/power/regulator/pbias_regulator.c +1 -0
@@ -10,6 +10,7 @@#include <log.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <regmap.h>
drivers/power/regulator/regulator_common.c +2 -0
@@ -7,8 +7,10 @@#include <common.h> #include <dm.h> #include <log.h> +#include <asm/gpio.h> #include <linux/delay.h> #include <power/regulator.h> +#include "regulator_common.h" #include "regulator_common.h"
drivers/power/regulator/s2mps11_regulator.c +1 -0
@@ -9,6 +9,7 @@#include <errno.h> #include <dm.h> #include <linux/delay.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/s2mps11.h>
drivers/power/regulator/sandbox.c +1 -0
@@ -8,6 +8,7 @@#include <fdtdec.h> #include <errno.h> #include <dm.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/sandbox_pmic.h>
drivers/power/regulator/tps65910_regulator.c +1 -0
@@ -6,6 +6,7 @@#include <common.h> #include <dm.h> #include <log.h> +#include <linux/printk.h> #include <power/pmic.h> #include <power/regulator.h> #include <power/tps65910_pmic.h>
drivers/power/twl4030.c +1 -0
@@ -25,6 +25,7 @@#include <command.h> #include <twl4030.h> #include <linux/delay.h> +#include <linux/printk.h> /* * Power Reset
drivers/power/twl6030.c +1 -0
@@ -5,6 +5,7 @@*/ #include <config.h> #include <linux/delay.h> +#include <linux/printk.h> #include <twl6030.h>
drivers/ram/imxrt_sdram.c +1 -0
@@ -15,6 +15,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> /* SDRAM Command Code */ #define SD_CC_ARD 0x0/* Master Bus (AXI) command - Read */
drivers/ram/rockchip/dmc-rk3368.c +1 -0
@@ -23,6 +23,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> struct dram_info {struct ram_info info;
drivers/ram/stm32_sdram.c +1 -0
@@ -16,6 +16,7 @@#include <dm/device_compat.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #define MEM_MODE_MASK GENMASK(2, 0)#define SWP_FMC_OFFSET 10
drivers/ram/stm32mp1/stm32mp1_ddr.c +1 -0
@@ -16,6 +16,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/iopoll.h> +#include <linux/printk.h> #include "stm32mp1_ddr.h" #include "stm32mp1_ddr_regs.h"
drivers/ram/stm32mp1/stm32mp1_ram.c +1 -0
@@ -15,6 +15,7 @@#include <syscon.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/printk.h> #include "stm32mp1_ddr.h" #include "stm32mp1_ddr_regs.h"
drivers/remoteproc/rproc-elf-loader.c +1 -0
@@ -11,6 +11,7 @@#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/compat.h> +#include <linux/printk.h> /** * struct resource_table - firmware resource table header
drivers/remoteproc/rproc-uclass.c +1 -0
@@ -20,6 +20,7 @@#include <dm/uclass.h> #include <dm/uclass-internal.h> #include <linux/compat.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/remoteproc/sandbox_testproc.c +1 -0
@@ -10,6 +10,7 @@#include <log.h> #include <remoteproc.h> #include <asm/io.h> +#include <linux/printk.h> /** * enum sandbox_state - different device states
drivers/remoteproc/stm32_copro.c +1 -0
@@ -14,6 +14,7 @@#include <asm/io.h> #include <dm/device_compat.h> #include <linux/err.h> +#include <linux/printk.h> /** * struct stm32_copro_privdata - power processor private data
drivers/remoteproc/ti_power_proc.c +1 -0
@@ -11,6 +11,7 @@#include <log.h> #include <remoteproc.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <mach/psc_defs.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/remoteproc/ti_sci_proc.h +1 -0
@@ -10,6 +10,7 @@#ifndef REMOTEPROC_TI_SCI_PROC_H #define REMOTEPROC_TI_SCI_PROC_H +#include <linux/printk.h> #define TISCI_INVALID_HOST 0xff/**
drivers/reset/sti-reset.c +1 -0
@@ -16,6 +16,7 @@#include <asm/global_data.h> #include <dt-bindings/reset/stih407-resets.h> #include <linux/bitops.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/serial/serial_mtk.c +1 -0
@@ -19,6 +19,7 @@#include <asm/io.h> #include <asm/types.h> #include <linux/err.h> +#include <linux/printk.h> struct mtk_serial_regs {u32 rbr;
drivers/soc/ti/k3-navss-ringacc.c +1 -0
@@ -21,6 +21,7 @@#include <linux/compat.h> #include <linux/dma-mapping.h> #include <linux/err.h> +#include <linux/printk.h> #include <linux/soc/ti/k3-navss-ringacc.h> #include <linux/soc/ti/ti_sci_protocol.h> #include <linux/soc/ti/cppi5.h>
drivers/spi/atmel_spi.c +1 -0
@@ -17,6 +17,7 @@#include <asm/gpio.h> #endif #include <linux/bitops.h> +#include <linux/printk.h> /* * Register definitions for the Atmel AT32/AT91 SPI Controller
drivers/spi/fsl_dspi.c +1 -0
@@ -26,6 +26,7 @@#include <fsl_dspi.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> /* linux/include/time.h */ #define NSEC_PER_SEC 1000000000L
drivers/spi/mt7621_spi.c +1 -0
@@ -16,6 +16,7 @@#include <wait_bit.h> #include <linux/bitops.h> #include <linux/io.h> +#include <linux/printk.h> #define MT7621_RX_FIFO_LEN 32#define MT7621_TX_FIFO_LEN 36
drivers/spi/mxc_spi.c +1 -0
@@ -19,6 +19,7 @@#include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/mach-imx/spi.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/spi/pl022_spi.c +1 -0
@@ -18,6 +18,7 @@#include <asm/global_data.h> #include <asm/gpio.h> #include <spi.h> +#include <linux/printk.h> #define SSP_CR0 0x000#define SSP_CR1 0x004
drivers/spi/stm32_qspi.c +1 -0
@@ -22,6 +22,7 @@#include <linux/delay.h> #include <linux/iopoll.h> #include <linux/ioport.h> +#include <linux/printk.h> #include <linux/sizes.h> struct stm32_qspi_regs {
drivers/spi/stm32_spi.c +1 -0
@@ -18,6 +18,7 @@#include <dm/device_compat.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <asm/io.h> #include <asm/gpio.h>
drivers/spi/uniphier_spi.c +1 -0
@@ -17,6 +17,7 @@#include <linux/io.h> #include <spi.h> #include <wait_bit.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/sysreset/sysreset_sti.c +1 -0
@@ -12,6 +12,7 @@#include <asm/global_data.h> #include <asm/io.h> #include <linux/bitops.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR ;
drivers/sysreset/sysreset_syscon.c +1 -0
@@ -14,6 +14,7 @@#include <sysreset.h> #include <syscon.h> #include <linux/err.h> +#include <linux/printk.h> struct syscon_reboot_priv {struct regmap *regmap;
drivers/sysreset/sysreset_watchdog.c +1 -0
@@ -10,6 +10,7 @@#include <malloc.h> #include <sysreset.h> #include <wdt.h> +#include <linux/printk.h> struct wdt_reboot_plat {struct udevice *wdt;
drivers/tpm/tpm_tis_infineon.c +1 -0
@@ -28,6 +28,7 @@#include <linux/delay.h> #include <linux/errno.h> #include <linux/compiler.h> +#include <linux/printk.h> #include <linux/types.h> #include <linux/unaligned/be_byteshift.h>
drivers/usb/cdns3/gadget.c +1 -0
@@ -62,6 +62,7 @@#include <linux/bitops.h> #include <linux/delay.h> #include <linux/err.h> +#include <linux/printk.h> #include <linux/usb/gadget.h> #include <linux/compat.h> #include <linux/iopoll.h>
drivers/usb/common/common.c +1 -0
@@ -9,6 +9,7 @@#include <common.h> #include <dm.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <linux/usb/otg.h> #include <linux/usb/ch9.h> #include <linux/usb/phy.h>
drivers/usb/dwc3/dwc3-generic.c +1 -0
@@ -17,6 +17,7 @@#include <generic-phy.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <malloc.h>
drivers/usb/dwc3/dwc3-meson-g12a.c +1 -0
@@ -15,6 +15,7 @@#include <dwc3-uboot.h> #include <generic-phy.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <malloc.h>
drivers/usb/dwc3/gadget.c +1 -0
@@ -24,6 +24,7 @@#include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/list.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h>
drivers/usb/eth/mcs7830.c +1 -0
@@ -19,6 +19,7 @@#include <malloc.h> #include <memalign.h> #include <usb.h> +#include <linux/printk.h> #include "usb_ether.h"
drivers/usb/gadget/at91_udc.c +1 -0
@@ -21,6 +21,7 @@#include <asm/io.h> #include <asm/gpio.h> #include <asm/hardware.h> +#include <linux/printk.h> #include <mach/at91_matrix.h> #include <linux/list.h> #include <linux/usb/ch9.h>
drivers/usb/gadget/atmel_usba_udc.c +1 -0
@@ -13,6 +13,7 @@#include <asm/gpio.h> #include <asm/hardware.h> #include <linux/list.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/atmel_usba_udc.h>
drivers/usb/gadget/dwc2_udc_otg.c +1 -0
@@ -28,6 +28,7 @@#include <dm/devres.h> #include <linux/bug.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/errno.h> #include <linux/list.h>
drivers/usb/gadget/ether.c +1 -0
@@ -14,6 +14,7 @@#include <part.h> #include <linux/errno.h> #include <linux/netdevice.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/cdc.h> #include <linux/usb/gadget.h>
drivers/usb/gadget/f_fastboot.c +1 -0
@@ -17,6 +17,7 @@#include <fastboot.h> #include <log.h> #include <malloc.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/composite.h>
drivers/usb/gadget/f_sdp.c +1 -0
@@ -22,6 +22,7 @@#include <env.h> #include <log.h> #include <malloc.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h>
drivers/usb/gadget/f_thor.c +1 -0
@@ -24,6 +24,7 @@#include <memalign.h> #include <version.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/composite.h>
drivers/usb/gadget/udc/udc-uclass.c +1 -0
@@ -9,6 +9,7 @@#include <common.h> #include <dm.h> #include <dm/device-internal.h> +#include <linux/printk.h> #include <linux/usb/gadget.h> #if CONFIG_IS_ENABLED (DM_USB_GADGET )
drivers/usb/host/dwc3-sti-glue.c +1 -0
@@ -17,6 +17,7 @@#include <reset-uclass.h> #include <syscon.h> #include <usb.h> +#include <linux/printk.h> #include <linux/usb/dwc3.h> #include <linux/usb/otg.h>
drivers/usb/musb-new/mt85xx.c +1 -0
@@ -16,6 +16,7 @@#include <dm/lists.h> #include <dm/root.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/usb/musb.h> #include <usb.h> #include "linux-compat.h"
drivers/usb/musb-new/musb_core.c +1 -0
@@ -86,6 +86,7 @@#include <linux/bitops.h> #include <linux/bug.h> #include <linux/errno.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/musb.h>
drivers/usb/musb-new/musb_debug.h +1 -0
@@ -10,6 +10,7 @@#ifndef __MUSB_LINUX_DEBUG_H__#define __MUSB_LINUX_DEBUG_H__ +#include <linux/printk.h> #define yprintk(facility, format, args...) \ do { printk(facility "%s %d: " format , \ __func__, __LINE__ , ## args); } while (0)
drivers/usb/musb-new/musb_dsps.c +1 -0
@@ -35,6 +35,7 @@#include <dm.h> #include <dm/device_compat.h> #include <asm/omap_musb.h> +#include <linux/printk.h> #include "linux-compat.h" #endif
drivers/usb/musb-new/musb_gadget.c +1 -0
@@ -26,6 +26,7 @@#include <dm.h> #include <dm/device_compat.h> #include <linux/bug.h> +#include <linux/printk.h> #include <linux/usb/ch9.h> #include "linux-compat.h" #endif
drivers/usb/musb-new/musb_gadget_ep0.c +1 -0
@@ -21,6 +21,7 @@#include <common.h> #include <dm.h> #include <dm/device_compat.h> +#include <linux/printk.h> #include <asm/processor.h> #include "linux-compat.h" #endif
drivers/usb/musb-new/omap2430.c +1 -0
@@ -16,6 +16,7 @@#include <dm/device_compat.h> #include <dm/lists.h> #include <linux/err.h> +#include <linux/printk.h> #include <linux/usb/otg.h> #include <asm/global_data.h> #include <asm/omap_common.h>
drivers/usb/musb-new/sunxi.c +1 -0
@@ -30,6 +30,7 @@#include <dm/root.h> #include <linux/bitops.h> #include <linux/delay.h> +#include <linux/printk.h> #include <linux/usb/musb.h> #include "linux-compat.h" #include "musb_core.h"
drivers/usb/musb-new/ti-musb.c +1 -0
@@ -12,6 +12,7 @@#include <log.h> #include <malloc.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <linux/usb/otg.h> #include <dm/device-internal.h> #include <dm/lists.h>
drivers/video/meson/meson_dw_hdmi.c +1 -0
@@ -14,6 +14,7 @@#include <dm/device-internal.h> #include <dm/uclass-internal.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <power/regulator.h> #include <clk.h> #include <linux/delay.h>
drivers/video/meson/meson_vclk.c +1 -0
@@ -10,6 +10,7 @@#include <dm.h> #include <edid.h> #include <linux/bitops.h> +#include <linux/printk.h> #include "meson_vpu.h" #include <log.h> #include <linux/iopoll.h>
drivers/video/stm32/stm32_dsi.c +1 -0
@@ -26,6 +26,7 @@#include <dm/lists.h> #include <linux/bitops.h> #include <linux/iopoll.h> +#include <linux/printk.h> #include <power/regulator.h> #define HWVER_130 0x31333000/* IP version 1.30 */
drivers/video/stm32/stm32_ltdc.c +1 -0
@@ -20,6 +20,7 @@#include <dm/device-internal.h> #include <dm/device_compat.h> #include <linux/bitops.h> +#include <linux/printk.h> struct stm32_ltdc_priv {void __iomem *regs;
drivers/video/tegra124/sor.c +1 -0
@@ -15,6 +15,7 @@#include <asm/arch/clock.h> #include <asm/arch-tegra/dc.h> #include <linux/delay.h> +#include <linux/printk.h> #include "displayport.h" #include "sor.h" #include <linux/err.h>
drivers/watchdog/stm32mp_wdt.c +1 -0
@@ -15,6 +15,7 @@#include <dm/device_compat.h> #include <linux/bitops.h> #include <linux/iopoll.h> +#include <linux/printk.h> /* IWDG registers */ #define IWDG_KR 0x00/* Key register */
env/common.c +1 -0
@@ -15,6 +15,7 @@#include <log.h> #include <sort.h> #include <asm/global_data.h> +#include <linux/printk.h> #include <linux/stddef.h> #include <search.h> #include <errno.h>
fs/ubifs/debug.c +1 -0
@@ -18,6 +18,7 @@#include <hexdump.h> #include <log.h> #include <dm/devres.h> +#include <linux/printk.h> #ifndef __UBOOT__#include <linux/module.h>
fs/ubifs/debug.h +1 -0
@@ -12,6 +12,7 @@#define __UBIFS_DEBUG_H__/* Checking helper functions */ +#include <linux/printk.h> typedef int (*dbg_leaf_callback )(struct ubifs_info *c,struct ubifs_zbranch *zbr,void *priv); typedef int (*dbg_znode_callback)(struct ubifs_info *c,
fs/ubifs/lpt_commit.c +1 -0
@@ -24,6 +24,7 @@#include <linux/compat.h> #include <linux/err.h> #include <linux/crc16.h> +#include <linux/printk.h> #endif #include "ubifs.h"
fs/ubifs/super.c +1 -0
@@ -35,6 +35,7 @@#include <linux/bitops.h> #include <linux/bug.h> #include <linux/log2.h> +#include <linux/printk.h> #include <linux/stat.h> #include <linux/err.h> #include "ubifs.h"
fs/ubifs/ubifs.h +1 -0
@@ -35,6 +35,7 @@#include <asm-generic/atomic-long.h> #include <ubi_uboot.h> #include <ubifs_uboot.h> +#include <linux/printk.h> #include <linux/ctype.h> #include <linux/time.h>
fs/yaffs2/yaffs_uboot_glue.c +1 -0
@@ -22,6 +22,7 @@#include <common.h> #include <div64.h> #include <malloc.h> +#include <linux/printk.h> #include <config.h> #include "nand.h"
include/common.h +0 -1
@@ -17,7 +17,6 @@#include <errno.h> #include <time.h> #include <linux/types.h> -#include <linux/printk.h> #include <linux/string.h> #include <stdarg.h> #include <stdio.h>
include/crypto/pkcs7_parser.h +1 -0
@@ -11,6 +11,7 @@#include <linux/oid_registry.h> #include <crypto/pkcs7.h> #include <crypto/x509_parser.h> +#include <linux/printk.h> #define kenter (FMT , ...) \ pr_devel("==> %s("FMT")\n", __func__, ##__VA_ARGS__)
include/dm/device_compat.h +1 -0
@@ -14,6 +14,7 @@#include <log.h> #include <linux/build_bug.h> #include <linux/compat.h> +#include <linux/printk.h> /* * Define a new identifier which can be tested on by C code. A similar
include/linux/soc/ti/cppi5.h +1 -0
@@ -11,6 +11,7 @@#include <hexdump.h> #include <linux/bitops.h> #include <linux/bug.h> +#include <linux/printk.h> /** * Descriptor header, present in all types of descriptors
lib/asn1_decoder.c +1 -0
@@ -8,6 +8,7 @@#ifdef __UBOOT__#include <log.h> #include <linux/compat.h> +#include <linux/printk.h> #else #include <linux/export.h> #endif
lib/bch.c +1 -0
@@ -61,6 +61,7 @@#include <dm/devres.h> #include <linux/bitops.h> +#include <linux/printk.h> #else #include <errno.h> #if defined(__FreeBSD__)
lib/crypto/asymmetric_type.c +1 -0
@@ -18,6 +18,7 @@#include <linux/compat.h> #include <linux/ctype.h> #include <linux/err.h> +#include <linux/printk.h> #include <linux/string.h> #else #include <linux/seq_file.h>
lib/crypto/pkcs7_parser.c +1 -0
@@ -11,6 +11,7 @@#include <dm/devres.h> #include <linux/bitops.h> #include <linux/compat.h> +#include <linux/printk.h> #endif #include <linux/kernel.h> #ifndef __UBOOT__
lib/crypto/pkcs7_verify.c +1 -0
@@ -15,6 +15,7 @@#include <linux/bitops.h> #include <linux/compat.h> #include <linux/asn1.h> +#include <linux/printk.h> #include <u-boot/hash-checksum.h> #include <crypto/public_key.h> #include <crypto/pkcs7_parser.h>
lib/crypto/public_key.c +1 -0
@@ -13,6 +13,7 @@#include <linux/bug.h> #include <linux/compat.h> #include <linux/err.h> +#include <linux/printk.h> #else #include <linux/module.h> #include <linux/export.h>
lib/crypto/rsa_helper.c +1 -0
@@ -15,6 +15,7 @@#include <linux/fips.h> #endif #include <crypto/internal/rsa.h> +#include <linux/printk.h> #include "rsapubkey.asn1.h" #ifndef __UBOOT__#include "rsaprivkey.asn1.h"
lib/crypto/x509_cert_parser.c +1 -0
@@ -16,6 +16,7 @@#include <linux/err.h> #include <linux/oid_registry.h> #ifdef __UBOOT__ +#include <linux/printk.h> #include <linux/string.h> #endif #include <crypto/public_key.h>
lib/crypto/x509_public_key.c +1 -0
@@ -13,6 +13,7 @@#include <linux/compat.h> #include <linux/err.h> #include <linux/errno.h> +#include <linux/printk.h> #else #include <linux/module.h> #endif
lib/list_sort.c +1 -0
@@ -8,6 +8,7 @@#include <linux/compat.h> #include <common.h> #include <malloc.h> +#include <linux/printk.h> #endif #include <linux/list.h> #include <linux/list_sort.h>
net/fastboot_udp.c +1 -0
@@ -8,6 +8,7 @@#include <fastboot.h> #include <net.h> #include <net/fastboot_udp.h> +#include <linux/printk.h> enum {FASTBOOT_ERROR =0 ,
Signature · 1 line
2.42.0.459.ge4e396fd5e-goog
Quoted 6 lines · Simon Glass
This old patch was marked as deferred. Bring it back to life, to continue towards the removal of
common.hMove this out of the common header and include it only where needed.
Signed-off-by Simon Glass <[email protected]>
[snip]
Quoted 1 line
317 files changed, 322 insertions(+), 3 deletions(-)
So, going back to the original series here, how did you determine that the files changed here need <linux/printk.h> ? I can see how to get there with some grep'ing but I think my original complaint was that we added the new header too widely.
Signature · 1 line
Tom
Hi Tom,
Quoted 8 lines · Tom Rini
Quoted 5 lines · Simon Glass
This old patch was marked as deferred. Bring it back to life, to continue towards the removal of
common.hMove this out of the common header and include it only where needed.
Quoted 8 lines
Quoted 1 line
Signed-off-by Simon Glass <[email protected]>[snip]
Quoted 1 line
317 files changed, 322 insertions(+), 3 deletions(-)So, going back to the original series here, how did you determine that the files changed here need <
linux/printk.h> ? I can see how to get there with some grep'ing but I think my original complaint was that we added the new header too widely.
Basically I used ctags to get the symbols from the header file, then grepped files for them. For that one, it is:
KERN_ALERT,KERN_CONT,KERN_CRIT,KERN_DEBUG,KERN_EMERG,KERN_ERR,KERN_INFO,KERN_NOTICE,KERN_WARNING,__KERNEL_PRINTK__,__printk,no_printk,pr_alert,pr_cont,pr_crit,pr_debug,pr_debug,pr_devel,pr_devel,pr_emerg,pr_err,pr_fmt,pr_info,pr_notice,pr_warn,pr_warning,printk,printk_once
I was a little miffed that a comment along these lines from Heinrich, with no actual evidence, and no response to my follow-up questions, caused the series to be dropped. It isn't easy to do these sorts of clean-ups.
A lot of files include things like net.h and image.h which bring in many headers...but we should clean up those header files up too (particularly image.h). So I think the standard should be: "include what you use".
Regards,
Simon
Quoted 20 lines · Simon Glass
Hi Tom,
Quoted 8 lines · Tom Rini
Quoted 5 lines · Simon Glass
This old patch was marked as deferred. Bring it back to life, to continue towards the removal of
common.hMove this out of the common header and include it only where needed.
Quoted 8 lines
Quoted 1 line
Signed-off-by Simon Glass <[email protected]>[snip]
Quoted 1 line
317 files changed, 322 insertions(+), 3 deletions(-)So, going back to the original series here, how did you determine that the files changed here need <
linux/printk.h> ? I can see how to get there with some grep'ing but I think my original complaint was that we added the new header too widely.
Quoted 4 lines
Basically I used ctags to get the symbols from the header file, then grepped files for them. For that one, it is:
KERN_ALERT,KERN_CONT,KERN_CRIT,KERN_DEBUG,KERN_EMERG,KERN_ERR,KERN_INFO,KERN_NOTICE,KERN_WARNING,__KERNEL_PRINTK__,__printk,no_printk,pr_alert,pr_cont,pr_crit,pr_debug,pr_debug,pr_devel,pr_devel,pr_emerg,pr_err,pr_fmt,pr_info,pr_notice,pr_warn,pr_warning,printk,printk_once
OK, good.
Quoted 4 lines
I was a little miffed that a comment along these lines from Heinrich, with no actual evidence, and no response to my follow-up questions, caused the series to be dropped. It isn't easy to do these sorts of clean-ups.
Well, I know earlier on I had concerns and spotted specific cases where it was off.
Quoted 4 lines
A lot of files include things like
net.handimage.hwhich bring in many headers...but we should clean up those header files up too (particularlyimage.h). So I think the standard should be: "include what you use".
Yes, we should first get rid of common.h and then see what we can remove next.
Signature · 1 line
Tom
Hi Tom,
Quoted 37 lines · Tom Rini
Quoted 20 lines · Simon Glass
Hi Tom,
Quoted 8 lines · Tom Rini
Quoted 5 lines · Simon Glass
This old patch was marked as deferred. Bring it back to life, to continue towards the removal of
common.hMove this out of the common header and include it only where needed.
Quoted 8 lines
Quoted 1 line
Signed-off-by Simon Glass <[email protected]>[snip]
Quoted 1 line
317 files changed, 322 insertions(+), 3 deletions(-)So, going back to the original series here, how did you determine that the files changed here need <
linux/printk.h> ? I can see how to get there with some grep'ing but I think my original complaint was that we added the new header too widely.Quoted 4 lines
Basically I used ctags to get the symbols from the header file, then grepped files for them. For that one, it is:
KERN_ALERT,KERN_CONT,KERN_CRIT,KERN_DEBUG,KERN_EMERG,KERN_ERR,KERN_INFO,KERN_NOTICE,KERN_WARNING,__KERNEL_PRINTK__,__printk,no_printk,pr_alert,pr_cont,pr_crit,pr_debug,pr_debug,pr_devel,pr_devel,pr_emerg,pr_err,pr_fmt,pr_info,pr_notice,pr_warn,pr_warning,printk,printk_once
OK, good.
Quoted 4 lines
I was a little miffed that a comment along these lines from Heinrich, with no actual evidence, and no response to my follow-up questions, caused the series to be dropped. It isn't easy to do these sorts of clean-ups.
Well, I know earlier on I had concerns and spotted specific cases where it was off.
Quoted 7 lines
Quoted 4 lines
A lot of files include things like
net.handimage.hwhich bring in many headers...but we should clean up those header files up too (particularlyimage.h). So I think the standard should be: "include what you use".Yes, we should first get rid of
common.hand then see what we can remove next.
Are you OK with this patch? If so I could send another, but should perhaps wait until this is in -next ?
Regards,
Simon
Quoted 45 lines · Simon Glass
Hi Tom,
Quoted 42 lines · Tom Rini
Quoted 20 lines · Simon Glass
Hi Tom,
Quoted 8 lines · Tom Rini
Quoted 5 lines · Simon Glass
This old patch was marked as deferred. Bring it back to life, to continue towards the removal of
common.hMove this out of the common header and include it only where needed.
Quoted 8 lines
Quoted 1 line
Signed-off-by Simon Glass <[email protected]>[snip]
Quoted 1 line
317 files changed, 322 insertions(+), 3 deletions(-)So, going back to the original series here, how did you determine that the files changed here need <
linux/printk.h> ? I can see how to get there with some grep'ing but I think my original complaint was that we added the new header too widely.Quoted 4 lines
Basically I used ctags to get the symbols from the header file, then grepped files for them. For that one, it is:
KERN_ALERT,KERN_CONT,KERN_CRIT,KERN_DEBUG,KERN_EMERG,KERN_ERR,KERN_INFO,KERN_NOTICE,KERN_WARNING,__KERNEL_PRINTK__,__printk,no_printk,pr_alert,pr_cont,pr_crit,pr_debug,pr_debug,pr_devel,pr_devel,pr_emerg,pr_err,pr_fmt,pr_info,pr_notice,pr_warn,pr_warning,printk,printk_once
OK, good.
Quoted 4 lines
I was a little miffed that a comment along these lines from Heinrich, with no actual evidence, and no response to my follow-up questions, caused the series to be dropped. It isn't easy to do these sorts of clean-ups.
Well, I know earlier on I had concerns and spotted specific cases where it was off.
Quoted 4 lines
A lot of files include things like
net.handimage.hwhich bring in many headers...but we should clean up those header files up too (particularlyimage.h). So I think the standard should be: "include what you use".
Quoted 5 lines
Quoted 2 lines
Yes, we should first get rid of
common.hand then see what we can remove next.Are you OK with this patch? If so I could send another, but should perhaps wait until this is in -next ?
I'll pick this up for next soon, yes. And then we can do another.
Signature · 1 line
Tom
Quoted 6 lines · Simon Glass
This old patch was marked as deferred. Bring it back to life, to continue towards the removal of
common.hMove this out of the common header and include it only where needed.
Applied to u-boot/next, thanks!
Signature · 1 line
Tom