]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Require users of devres to include the header
authorSimon Glass <sjg@chromium.org>
Mon, 3 Feb 2020 14:36:15 +0000 (07:36 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commit61b29b82683863a970fd4609a7c58512872616bc
tree5b83289e241abbef5906999bc26a13e0814585b5
parenta466db5adb58e486fbd8ae63536b03a70d69f68d
dm: core: Require users of devres to include the header

At present devres.h is included in all files that include dm.h but few
make use of it. Also this pulls in linux/compat which adds several more
headers. Drop the automatic inclusion and require files to include devres
themselves. This provides a good indication of which files use devres.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
242 files changed:
arch/arm/mach-aspeed/ast2500/clk_ast2500.c
arch/arm/mach-imx/cmd_nandbcb.c
arch/arm/mach-meson/board-info.c
arch/arm/mach-meson/sm.c
arch/arm/mach-rockchip/px30/clk_px30.c
arch/arm/mach-rockchip/rk3036/clk_rk3036.c
arch/arm/mach-rockchip/rk3128/clk_rk3128.c
arch/arm/mach-rockchip/rk3188/clk_rk3188.c
arch/arm/mach-rockchip/rk3188/rk3188.c
arch/arm/mach-rockchip/rk322x/clk_rk322x.c
arch/arm/mach-rockchip/rk3288/clk_rk3288.c
arch/arm/mach-rockchip/rk3288/rk3288.c
arch/arm/mach-rockchip/rk3308/clk_rk3308.c
arch/arm/mach-rockchip/rk3328/clk_rk3328.c
arch/arm/mach-rockchip/rk3368/clk_rk3368.c
arch/arm/mach-rockchip/rk3399/clk_rk3399.c
arch/arm/mach-rockchip/rv1108/clk_rv1108.c
arch/arm/mach-stm32mp/pwr_regulator.c
arch/riscv/lib/andes_plic.c
arch/riscv/lib/andes_plmt.c
arch/riscv/lib/sifive_clint.c
board/google/veyron/veyron.c
board/st/stm32mp1/stm32mp1.c
cmd/gpio.c
cmd/gpt.c
cmd/mtd.c
cmd/ubi.c
drivers/adc/rockchip-saradc.c
drivers/block/blk-uclass.c
drivers/clk/altera/clk-arria10.c
drivers/clk/aspeed/clk_ast2500.c
drivers/clk/at91/clk-generated.c
drivers/clk/at91/clk-usb.c
drivers/clk/clk-composite.c
drivers/clk/clk-divider.c
drivers/clk/clk-fixed-factor.c
drivers/clk/clk-gate.c
drivers/clk/clk-mux.c
drivers/clk/clk-ti-sci.c
drivers/clk/clk-uclass.c
drivers/clk/clk_fixed_factor.c
drivers/clk/clk_sandbox_ccf.c
drivers/clk/clk_sandbox_test.c
drivers/clk/clk_versal.c
drivers/clk/clk_zynqmp.c
drivers/clk/imx/clk-composite-8m.c
drivers/clk/imx/clk-gate2.c
drivers/clk/imx/clk-pfd.c
drivers/clk/imx/clk-pll14xx.c
drivers/clk/imx/clk-pllv3.c
drivers/clk/meson/axg.c
drivers/clk/meson/g12a.c
drivers/clk/meson/gxbb.c
drivers/clk/rockchip/clk_rk3188.c
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/sifive/fu540-prci.c
drivers/core/devres.c
drivers/dfu/dfu_mtd.c
drivers/dma/ti/k3-udma.c
drivers/firmware/ti_sci.c
drivers/gpio/dwapb_gpio.c
drivers/gpio/mscc_sgpio.c
drivers/i2c/ast_i2c.c
drivers/i2c/designware_i2c.c
drivers/i2c/meson_i2c.c
drivers/i2c/muxes/i2c-mux-gpio.c
drivers/i2c/tegra_i2c.c
drivers/misc/microchip_flexcom.c
drivers/misc/tegra186_bpmp.c
drivers/mmc/am654_sdhci.c
drivers/mmc/aspeed_sdhci.c
drivers/mmc/fsl_esdhc_imx.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/rockchip_sdhci.c
drivers/mmc/tegra_mmc.c
drivers/mmc/zynq_sdhci.c
drivers/mtd/mtd_uboot.c
drivers/mtd/mtdconcat.c
drivers/mtd/mtdcore.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/bbt.c
drivers/mtd/nand/raw/atmel_nand.c
drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c
drivers/mtd/nand/raw/brcmnand/brcmnand.c
drivers/mtd/nand/raw/brcmnand/brcmnand_compat.c
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/fsl_elbc_nand.c
drivers/mtd/nand/raw/fsl_ifc_nand.c
drivers/mtd/nand/raw/mxs_nand_spl.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_bbt.c
drivers/mtd/nand/raw/nand_bch.c
drivers/mtd/nand/raw/nand_timings.c
drivers/mtd/nand/raw/nand_util.c
drivers/mtd/nand/raw/pxa3xx_nand.c
drivers/mtd/nand/raw/stm32_fmc2_nand.c
drivers/mtd/nand/raw/sunxi_nand.c
drivers/mtd/nand/spi/core.c
drivers/mtd/onenand/onenand_base.c
drivers/mtd/spi/spi-nor-core.c
drivers/mtd/ubi/attach.c
drivers/mtd/ubi/build.c
drivers/mtd/ubi/debug.c
drivers/mtd/ubi/eba.c
drivers/mtd/ubi/fastmap.c
drivers/mtd/ubi/io.c
drivers/mtd/ubi/kapi.c
drivers/mtd/ubi/vmt.c
drivers/mtd/ubi/vtbl.c
drivers/mtd/ubi/wl.c
drivers/net/designware.c
drivers/net/dwmac_socfpga.c
drivers/net/mvneta.c
drivers/net/mvpp2.c
drivers/net/phy/dp83867.c
drivers/net/sni_ave.c
drivers/net/zynq_gem.c
drivers/pci/pcie_dw_ti.c
drivers/pci/pcie_mediatek.c
drivers/phy/allwinner/phy-sun4i-usb.c
drivers/phy/marvell/comphy_core.c
drivers/phy/omap-usb2-phy.c
drivers/phy/phy-mtk-tphy.c
drivers/phy/phy-ti-am654.c
drivers/phy/ti-pipe3-phy.c
drivers/pinctrl/intel/pinctrl.c
drivers/pinctrl/mscc/mscc-common.c
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
drivers/pinctrl/nxp/pinctrl-imx.c
drivers/pinctrl/nxp/pinctrl-mxs.c
drivers/pinctrl/pinctrl_stm32.c
drivers/pinctrl/renesas/pfc.c
drivers/power/domain/meson-ee-pwrc.c
drivers/power/domain/meson-gx-pwrc-vpu.c
drivers/power/domain/mtk-power-domain.c
drivers/power/domain/ti-sci-power-domain.c
drivers/power/regulator/pbias_regulator.c
drivers/ram/rockchip/dmc-rk3368.c
drivers/remoteproc/rproc-elf-loader.c
drivers/remoteproc/stm32_copro.c
drivers/remoteproc/ti_k3_arm64_rproc.c
drivers/remoteproc/ti_k3_dsp_rproc.c
drivers/remoteproc/ti_k3_r5f_rproc.c
drivers/reset/reset-mediatek.c
drivers/reset/reset-ti-sci.c
drivers/reset/reset-uclass.c
drivers/serial/ns16550.c
drivers/serial/serial_mtk.c
drivers/serial/serial_omap.c
drivers/serial/serial_sifive.c
drivers/serial/serial_zynq.c
drivers/smem/msm_smem.c
drivers/soc/ti/k3-navss-ringacc.c
drivers/spi/atmel-quadspi.c
drivers/spi/cadence_qspi.c
drivers/spi/spi-mem.c
drivers/spi/ti_qspi.c
drivers/spi/zynqmp_gqspi.c
drivers/sysreset/sysreset-ti-sci.c
drivers/sysreset/sysreset_syscon.c
drivers/tee/optee/core.c
drivers/timer/ast_timer.c
drivers/timer/cadence-ttc.c
drivers/timer/timer-uclass.c
drivers/ufs/cdns-platform.c
drivers/ufs/ti-j721e-ufs.c
drivers/ufs/ufs.c
drivers/usb/cdns3/core.c
drivers/usb/cdns3/gadget.c
drivers/usb/cdns3/host.c
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-omap.c
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/ti_usb_phy.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/composite.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/pxa25x_udc.c
drivers/usb/gadget/udc/udc-core.c
drivers/usb/host/ehci-generic.c
drivers/usb/host/ohci-da8xx.c
drivers/usb/host/ohci-generic.c
drivers/usb/musb-new/am35x.c
drivers/usb/musb-new/musb_core.c
drivers/usb/musb-new/musb_dsps.c
drivers/usb/musb-new/musb_gadget.c
drivers/usb/musb-new/musb_host.c
drivers/usb/musb-new/musb_uboot.c
drivers/usb/musb-new/omap2430.c
drivers/video/exynos/exynos_mipi_dsi.c
drivers/video/mipi_dsi.c
drivers/video/rockchip/rk3288_mipi.c
drivers/video/rockchip/rk3399_mipi.c
drivers/video/rockchip/rk_vop.c
drivers/video/tegra124/sor.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_pci_legacy.c
drivers/virtio/virtio_pci_modern.c
drivers/virtio/virtio_sandbox.c
drivers/watchdog/ast_wdt.c
drivers/watchdog/cdns_wdt.c
drivers/watchdog/sp805_wdt.c
drivers/watchdog/xilinx_tb_wdt.c
fs/ubifs/debug.c
fs/ubifs/gc.c
fs/ubifs/io.c
fs/ubifs/log.c
fs/ubifs/lpt.c
fs/ubifs/lpt_commit.c
fs/ubifs/master.c
fs/ubifs/orphan.c
fs/ubifs/recovery.c
fs/ubifs/replay.c
fs/ubifs/sb.c
fs/ubifs/scan.c
fs/ubifs/super.c
fs/ubifs/tnc.c
fs/ubifs/tnc_misc.c
fs/ubifs/ubifs.c
fs/yaffs2/yaffs_allocator.c
fs/yaffs2/yaffs_checkptrw.c
fs/yaffs2/yaffs_guts.c
fs/yaffs2/yaffs_summary.c
fs/yaffs2/yaffs_yaffs1.c
fs/yaffs2/yaffs_yaffs2.c
fs/yaffs2/yaffsfs.c
include/dm/device.h
include/dm/devres.h
lib/bch.c
lib/crypto/asymmetric_type.c
lib/crypto/pkcs7_parser.c
lib/crypto/public_key.c
lib/crypto/x509_cert_parser.c
lib/crypto/x509_public_key.c
lib/list_sort.c
test/dm/devres.c
test/dm/regmap.c
test/dm/syscon.c
test/dm/test-fdt.c