]> git.sur5r.net Git - u-boot/commitdiff
dm: Use dm.h header when driver mode is used
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 23:18:03 +0000 (17:18 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 12:57:52 +0000 (06:57 -0600)
This header includes things that are needed to make driver build. Adjust
existing users to include that always, even if other dm/ includes are
present

Signed-off-by: Simon Glass <sjg@chromium.org>
77 files changed:
arch/arm/lib/bootm.c
arch/arm/mach-uniphier/pinctrl-glue.c
arch/sandbox/cpu/cpu.c
board/amlogic/odroid-c2/odroid-c2.c
board/armltd/integrator/integrator.c
board/armltd/vexpress64/vexpress64.c
board/beckhoff/mx53cx9020/mx53cx9020.c
board/cadence/xtfpga/xtfpga.c
board/cavium/thunderx/thunderx.c
board/freescale/common/fsl_chain_of_trust.c
board/freescale/common/fsl_validate.c
board/st/stm32f429-discovery/stm32f429-discovery.c
board/st/stm32f746-disco/stm32f746-disco.c
board/st/stv0991/stv0991.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/colibri_imx6/colibri_imx6.c
board/toradex/colibri_pxa270/colibri_pxa270.c
cmd/bootefi.c
common/env_sf.c
drivers/clk/at91/clk-generated.c
drivers/clk/at91/clk-h32mx.c
drivers/clk/at91/clk-main.c
drivers/clk/at91/clk-master.c
drivers/clk/at91/clk-peripheral.c
drivers/clk/at91/clk-plla.c
drivers/clk/at91/clk-slow.c
drivers/clk/at91/clk-system.c
drivers/clk/at91/clk-utmi.c
drivers/clk/at91/pmc.c
drivers/clk/at91/sckc.c
drivers/clk/clk_fixed_rate.c
drivers/clk/clk_zynqmp.c
drivers/clk/uniphier/clk-uniphier-core.c
drivers/dma/ti-edma3.c
drivers/firmware/firmware-uclass.c
drivers/firmware/psci.c
drivers/gpio/bcm6345_gpio.c
drivers/gpio/gpio-uniphier.c
drivers/i2c/i2c-cdns.c
drivers/i2c/i2c-uniphier-f.c
drivers/i2c/i2c-uniphier.c
drivers/mmc/gen_atmel_mci.c
drivers/mmc/meson_gx_mmc.c
drivers/mmc/sdhci-cadence.c
drivers/mmc/tegra_mmc.c
drivers/mmc/uniphier-sd.c
drivers/net/ethoc.c
drivers/pinctrl/meson/pinctrl-meson-gxbb.c
drivers/pinctrl/meson/pinctrl-meson.c
drivers/pinctrl/nxp/pinctrl-imx.c
drivers/pinctrl/nxp/pinctrl-imx5.c
drivers/pinctrl/nxp/pinctrl-imx6.c
drivers/pinctrl/nxp/pinctrl-imx7.c
drivers/pinctrl/nxp/pinctrl-imx7ulp.c
drivers/pinctrl/pinctrl-at91-pio4.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-generic.c
drivers/pinctrl/pinctrl-sandbox.c
drivers/pinctrl/pinctrl-single.c
drivers/pinctrl/pinctrl-uclass.c
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c
drivers/pinctrl/uniphier/pinctrl-uniphier-sld3.c
drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c
drivers/ram/bmips_ram.c
drivers/reset/reset-uniphier.c
drivers/serial/serial_bcm6345.c
drivers/serial/serial_uniphier.c
drivers/sysreset/sysreset_psci.c
drivers/usb/musb-new/sunxi.c

index 4dbe6a53033110c5ac8d4c53b629e96c6f5f8749..eb242223b4c0ae87a254522a36f2227f34bac436 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <common.h>
 #include <command.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/root.h>
 #include <image.h>
 #include <u-boot/zlib.h>
index c52c6a6f6c6feefcd2d69474156b6164da121585..725569f90c78fdefc311cd94302e39ade08666aa 100644 (file)
@@ -6,9 +6,8 @@
  */
 
 #include <linux/errno.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
-#include <dm/uclass.h>
 
 #include "init.h"
 
index 2def72212d1feae279506403663cfd4b0fdb0f56..3fe99b853d573bce6a81394c22c7c5655250d9ec 100644 (file)
@@ -4,6 +4,7 @@
  */
 #define DEBUG
 #include <common.h>
+#include <dm.h>
 #include <errno.h>
 #include <libfdt.h>
 #include <os.h>
index b61daaa4a7515f26de7faee4edb547f732a8a73f..9306b56a6ab39cfca385392fd2ef29890ed2561f 100644 (file)
@@ -5,10 +5,10 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/gxbb.h>
 #include <asm/arch/sm.h>
-#include <dm/platdata.h>
 #include <phy.h>
 
 #define EFUSE_SN_OFFSET                20
index cbe706170d0fd5fe1a442e18c02421050ff5961d..fabb8b1c571c83e06358c904cbe0269fd0903ec9 100644 (file)
@@ -18,9 +18,9 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <netdev.h>
 #include <asm/io.h>
-#include <dm/platdata.h>
 #include <dm/platform_data/serial_pl01x.h>
 #include "arm-ebi.h"
 #include "integrator-sc.h"
index 0a224178dfdaa8e9b29099b07cf09ea78aef32b0..26e22c4c25549720242d1baa0e8137823ffd80d2 100644 (file)
@@ -6,12 +6,12 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
+#include <dm.h>
 #include <malloc.h>
 #include <errno.h>
 #include <netdev.h>
 #include <asm/io.h>
 #include <linux/compiler.h>
-#include <dm/platdata.h>
 #include <dm/platform_data/serial_pl01x.h>
 #include "pcie.h"
 #include <asm/armv8/mmu.h>
index c5d55dc68f54d28e1c3e4c6c1d64a5efebef98f8..e903bc18072427a492028653ad63e93638182d4e 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/sys_proto.h>
@@ -26,7 +27,6 @@
 #include <linux/fb.h>
 #include <ipu_pixfmt.h>
 #include <fs.h>
-#include <dm/platdata.h>
 #include <dm/platform_data/serial_mxc.h>
 
 enum LED_GPIOS {
index 39b9b12567706b43472969ba3a795a1b67e8f48f..0265e9bb360b74d9422eecd833585f02d4440349 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <command.h>
-#include <dm/platdata.h>
+#include <dm.h>
 #include <dm/platform_data/net_ethoc.h>
 #include <linux/ctype.h>
 #include <linux/string.h>
index 960ca53b021eaf4e7c5490a5f518aca6f843c33f..02253af5d9ffa3e12523da8713f77c012759e3e6 100644 (file)
@@ -5,6 +5,7 @@
 **/
 
 #include <common.h>
+#include <dm.h>
 #include <malloc.h>
 #include <errno.h>
 #include <linux/compiler.h>
@@ -13,7 +14,6 @@
 #include <asm/armv8/mmu.h>
 
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
-#include <dm/platdata.h>
 #include <dm/platform_data/serial_pl01x.h>
 
 static const struct pl01x_serial_platdata serial0 = {
index aad1b93d140552a14d6b2b2b05ad9b830bd91bac..2cd4fba13fb2b4f05fe521c7802295fa7c747217 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <fsl_validate.h>
 #include <fsl_secboot_err.h>
 #include <fsl_sfp.h>
index ed48c5c8bd779b6cc9995d8048d66c4ba455cdea..ef934076460bce158c71b6a85a212183f812c22e 100644 (file)
@@ -5,13 +5,13 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <fsl_validate.h>
 #include <fsl_secboot_err.h>
 #include <fsl_sfp.h>
 #include <fsl_sec.h>
 #include <command.h>
 #include <malloc.h>
-#include <dm/uclass.h>
 #include <u-boot/rsa-mod-exp.h>
 #include <hash.h>
 #include <fsl_secboot_err.h>
index d16d73fc976968a32aed0094d33f5e7f5451a64c..8c8abf6a0670cfca1b6ee5d5826c5bd121c6e08c 100644 (file)
  */
 
 #include <common.h>
+#include <dm.h>
 #include <asm/io.h>
 #include <asm/armv7m.h>
 #include <asm/arch/stm32.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/fmc.h>
-#include <dm/platdata.h>
 #include <dm/platform_data/serial_stm32.h>
 #include <asm/arch/stm32_periph.h>
 #include <asm/arch/stm32_defs.h>
index dc3a9dcade000c21bc7e35be3d80f393d2756820..aeaa31146a5ad073e981fe21e338a9334abaabd4 100644 (file)
@@ -12,7 +12,7 @@
 #include <asm/armv7m.h>
 #include <asm/arch/stm32.h>
 #include <asm/arch/gpio.h>
-#include <dm/platdata.h>
+#include <asm/arch/fmc.h>
 #include <dm/platform_data/serial_stm32x7.h>
 #include <asm/arch/stm32_periph.h>
 #include <asm/arch/stm32_defs.h>
index 6a19730069299ecacf8eeb7769a2da68d815170a..85ac66ec3ae95e6bc5f396dd2e1c8e64f19b7261 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <miiphy.h>
 #include <asm/arch/stv0991_periph.h>
 #include <asm/arch/stv0991_defs.h>
@@ -13,7 +14,6 @@
 #include <asm/arch/gpio.h>
 #include <netdev.h>
 #include <asm/io.h>
-#include <dm/platdata.h>
 #include <dm/platform_data/serial_pl01x.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index 45f1d5de390605e198f0b85db9fc13a82fce2f1b..7c49ddfc4b8f8c60241fe00e0e16aa6992a13348 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/mxc_hdmi.h>
index d070677054b1c031dcfaf1b0c09a8526e8fbbda1..69467ca895853bd05f40f31fc3b20ea81319f9df 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
 #include <asm/arch/imx-regs.h>
index 8e948545e3b92708359b18d53a15ee1b2cc94a0d..5d62e66495b5826bc2269d861fe09855fba3dd9c 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/pxa.h>
 #include <asm/arch/regs-mmc.h>
index 3b777058f4a2432db90cc353e66b48f35820e9e9..a0a543496763a801a6aed0a88e982767faeb7712 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <common.h>
 #include <command.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <efi_loader.h>
 #include <errno.h>
 #include <libfdt.h>
index 9944602367b9a8ae7e51533c3ff5447a7720413e..45f441a042b5ec0caedf226c81754ba63106c041 100644 (file)
@@ -10,6 +10,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
+#include <dm.h>
 #include <environment.h>
 #include <malloc.h>
 #include <spi.h>
index ac27d3e675039545d565923b472461fe104305fb..8c9a3cb053aa041db211c24b577169ce7960c429 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <mach/at91_pmc.h>
 #include "pmc.h"
index 1a304bab212064ba416734fdedc80b0dcdf71800..dcc64fbd6d16b7de5b3812caadda761e65b298a9 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/util.h>
 #include <linux/io.h>
 #include <mach/at91_pmc.h>
index 252d076bd50f9e02a90cb446569e6f6f58aff8fe..a234ce8b7e27ebd84edb9e98b893d1dce77e5e31 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <mach/at91_pmc.h>
 #include "pmc.h"
index 72d0a739f118cd67039723090bea628a959a473e..6bc78bad0dd4ba77f448382cf30187bc919512f9 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 62fabe304dc63d93b2759da23e574d79577cb928..212a30bd5ea7dad17b667bf838e92da611152210 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <mach/at91_pmc.h>
 #include "pmc.h"
index 2a713997412a065a400c22614ee7da152aa579c0..f5b2ca167340bd8d07e46ef00cee492855fbcf8a 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <mach/at91_pmc.h>
 #include "pmc.h"
index f7666b4041c9f8a4efe4c3584dd82e896695bec4..f18f002bea188677b34ac3b2ee603e6a4cc17185 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 
 static int at91_slow_clk_enable(struct clk *clk)
 {
index 5b59a0c85204fda795ca6877732bbf66a0e43f39..24b271aa181587faff717ea74a606b5b54e105d8 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <mach/at91_pmc.h>
 #include "pmc.h"
index 369a6870d8796bbc24721c50655731bd5347c5a2..af5362da4205a7f42088319edf2917895501b8af 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <mach/at91_pmc.h>
 #include "pmc.h"
index 72d52c58188e71c902e2dbe5141053ce3791fc15..29067fa7bde876253b1aed7c3a7e978cb37e768e 100644 (file)
@@ -7,9 +7,8 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/lists.h>
-#include <dm/root.h>
 #include <dm/util.h>
 #include "pmc.h"
 
index 6035e2095996469a7ca26f07d7c71c29dcad0c0e..0c0881237cba81b9f432382797c7e0f139fa0b1c 100644 (file)
@@ -6,8 +6,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
-#include <dm/root.h>
+#include <dm.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 3911bf61a03a2f9395c23204eed96eac19b48753..1cac4bbb857cad5ef39cc481e16e3ec36ae48b75 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 694274d9910357b47b2d71355115ec2262723dc9..50eaf3161383c2821f3c20467b35d12e7ac8b346 100644 (file)
@@ -9,8 +9,8 @@
 #include <common.h>
 #include <linux/bitops.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
 #include <clk.h>
+#include <dm.h>
 
 #define ZYNQMP_GEM0_REF_CTRL           0xFF5E0050
 #define ZYNQMP_IOPLL_CTRL              0xFF5E0020
index bcb2d2edb792c214ae4410e7da546dd4afafc581..c53dd911f13c46890620bd820fc9d1e7faf19a2f 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <common.h>
 #include <clk-uclass.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
index 247843891e2491fbae2d44629b9bac47864e0eb6..645aa2c4ae47989cdef4e4bcb22ce3286317232f 100644 (file)
@@ -11,8 +11,8 @@
 
 #include <asm/io.h>
 #include <common.h>
+#include <dm.h>
 #include <dma.h>
-#include <dm/device.h>
 #include <asm/omap_common.h>
 #include <asm/ti-common/ti-edma3.h>
 
index 01b6a44b9d38c206ad0dd390ec254cfe15bf896b..6c96656dd0fbf28e208b3d20b634750b23a51d95 100644 (file)
@@ -2,7 +2,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/uclass.h>
+#include <dm.h>
 
 /* Firmware access is platform-dependent.  No generic code in uclass */
 UCLASS_DRIVER(firmware) = {
index 40fba6432ce317827e853d067530f8d00afe0edf..3ae627ce5d8e072c7fbf5dd76ad76a8dc60cc37c 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/lists.h>
 #include <libfdt.h>
 #include <linux/arm-smccc.h>
index 1c46020aa4d6ca3ba12bd6aaea6ba379d1f9c0a3..1d752130dfe3ce90b2741732ad69329e9eb4a91a 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <errno.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
-#include <dm/device.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
index ad1176420db7e295e894d99bb99d3add59ecf735..a10116c2157cb221928e1d66627ad523159c49f7 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
index dec18200cea225b9ac28415f5fd277a3c5c06768..db3744410815400196054f2d2a8d6e4c7eeb6b91 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <linux/types.h>
 #include <linux/io.h>
 #include <linux/errno.h>
-#include <dm/device.h>
 #include <dm/root.h>
 #include <i2c.h>
 #include <fdtdec.h>
index 9f0df599a031a2e56fdaa454ebdb8d44ded71dff..be9fc8afc9d0574c90c5a5d0e75a6df79512f92b 100644 (file)
@@ -7,12 +7,12 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <linux/types.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
 #include <linux/sizes.h>
 #include <linux/errno.h>
-#include <dm/device.h>
 #include <i2c.h>
 #include <fdtdec.h>
 
index 73575e98951a3fe0a102e539798dbda972f6520c..75d1c4cad813c2ded88a95f63bba5db9ac7a6118 100644 (file)
@@ -7,11 +7,11 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <linux/types.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
 #include <linux/errno.h>
-#include <dm/device.h>
 #include <i2c.h>
 #include <fdtdec.h>
 
index c25d9ed96ed1c972ff65c3aa2e66a1a95ef94e6d..d883da30a11f8811dae8f87123c8927458859956 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <clk.h>
+#include <dm.h>
 #include <mmc.h>
 #include <part.h>
 #include <malloc.h>
@@ -19,7 +20,6 @@
 #include <asm/byteorder.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/hardware.h>
-#include <dm/device.h>
 #include "atmel_mci.h"
 
 DECLARE_GLOBAL_DATA_PTR;
index 2dda1b70646cdfe19bbd89580fe7f94b9ab65452..18b072d81f55c362201fc6ad89627ff45154edc8 100644 (file)
@@ -5,12 +5,12 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <fdtdec.h>
 #include <malloc.h>
 #include <mmc.h>
 #include <asm/io.h>
 #include <asm/arch/sd_emmc.h>
-#include <dm/device.h>
 #include <linux/log2.h>
 
 static inline void *get_regbase(const struct mmc *mmc)
index dc86d108a69839bba0361cdff27b4b1e953e1eba..eca1b3b5bbe9276e6fb07d523b4e812f66faab9a 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
 #include <linux/sizes.h>
-#include <dm/device.h>
 #include <libfdt.h>
 #include <mmc.h>
 #include <sdhci.h>
index 6c6affb92539bd4a727df209e1ecbf6abbb06b65..9037ffb38144e23e1b13da513ebbf5a1d904cbe4 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <bouncebuf.h>
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <errno.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
index 7f20ef124d66a54401dac10362a82581d60ccaea..195419ecdaa7f743608055052abb2c3ace906b13 100644 (file)
@@ -9,7 +9,7 @@
 #include <clk.h>
 #include <fdtdec.h>
 #include <mmc.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <linux/compat.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
index ad8c462a6099b62a4f6b2485564919b73499ea9c..2f4cad6791fa08c1db0dcb876756e23cfac95030 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/platform_data/net_ethoc.h>
 #include <linux/io.h>
 #include <malloc.h>
index a0a7de5f0fdfd1aa7b58c1d1f468a2b0e69518ed..0dc2438ebea626de8225404b22273cf47700e423 100644 (file)
@@ -7,7 +7,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 #include <dt-bindings/gpio/meson-gxbb-gpio.h>
 
index b5486b8fe4bff10f9df263b5b7dec7c9cbb64cd8..6281f529ea205526157ec84285ad7f6e82814acb 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 #include <fdt_support.h>
 #include <linux/err.h>
index ebc14a31f1ec103f8954789004de1469ae8792b4..1b6107fae600f64ece0fd11eddf09aee00839de5 100644 (file)
@@ -8,7 +8,7 @@
 #include <mapmem.h>
 #include <linux/io.h>
 #include <linux/err.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-imx.h"
index 6942f39670c40657abc1323c5708218c8aaa00eb..5f3f94e750afa895e961d1a23e8fa10dbcecb837 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-imx.h"
index 4488b1601126fd4849398f94e057788bcaab023a..38422054200bf783af9a59d77d44784ab3f20716 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-imx.h"
index eeb79426dfa2cd4eb5fb60b188dee36c4e5c6801..439c04e0cc37d1c88972f4ad86c7b25391a7edda 100644 (file)
@@ -4,7 +4,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-imx.h"
index 5f011757d8cbc919aab2c94b18ee6d78fa9ec71b..1f81a66df45f081d50f1c18e559bcd8dc64e60d9 100644 (file)
@@ -6,7 +6,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-imx.h"
index 5c6bff568ad0154a88ab36903bd40a9093e56d98..d6f8a9ba1d03044f13b89da1567e421a55d30351 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 #include <linux/io.h>
 #include <linux/err.h>
index 904e1bdc681fb1b99fccc2f06270c2a9973609a3..3147b59d19c47996d01795a02b30b8ca57302135 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 #include <linux/io.h>
 #include <linux/err.h>
index 0272496b51d13ba8613c5e555b27cc0ac240f1e5..49e36480df2890aa477873f47cdae9b242e33455 100644 (file)
@@ -5,8 +5,8 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <linux/compat.h>
-#include <dm/device.h>
 #include <dm/pinctrl.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index ab03d8bad4a8153eeadffe9605a63b82a606d9dd..e77b49c1684b74ef5bb4642244589f1a9f66b7e7 100644 (file)
@@ -7,7 +7,7 @@
 /* #define DEBUG */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 static const char * const sandbox_pins[] = {
index f19f7791f07b98323735602f9dc35aeb134d27a8..d5d68a329cc57f5266da05d9a9d2f1b7d5c3b9e0 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #include <common.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 #include <libfdt.h>
 #include <asm/io.h>
index 9efad0623a31ce362a8c4420fc42397a6175701d..0633b69bbe90c2919bbdbf048777ff88937b63ef 100644 (file)
@@ -8,10 +8,9 @@
 #include <libfdt.h>
 #include <linux/err.h>
 #include <linux/list.h>
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/lists.h>
 #include <dm/pinctrl.h>
-#include <dm/uclass.h>
 #include <dm/util.h>
 
 DECLARE_GLOBAL_DATA_PTR;
index d8e9948ee7cc994ac29db581ec117257d7103a2d..4f369c904999edbb2188857f631dad7ca0c0e3fd 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/sizes.h>
-#include <dm/device.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index 53c37cda7adc0ce14a6723c630bf55790d9ed2c3..cc76fef0a1330d3490240a933c9ffaa514c0bf68 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index 5a7d142865f2b86feffc12b1d99707b0aa645390..83d960f5e9b7c9cd331717701fc783fd21a3701c 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index 9b3db9d8124ff621ebfef22246e6eb66748d47f9..84ee10387d893690d7a7ef61856d71a39724ff4e 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index b25c7ea16ea5a467da7ac335cafd86087598100c..15fab6a1b061bb18f902a6bcead7e6a7d36c4c7b 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index f1624dab3fc44e2c43d65c957a50fa8d42bb0f9a..cf1fc5aa32535d77aacbb2dd35df0bb828a2dbba 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index 70c90bae54027574e43ccb2dace9218cac529355..788cfab47a26c2979ce57ec2394ac77a3568aa0f 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index 60777c3045a6745961a32558f1df2995dd09257a..8869fe4ed99d44dad51ec29e93c2bcc3a26a0315 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index 65b56dac3fce58e78cd3aec9b1860060921c8c73..5bff86b31a4c3f8f188df19274b64580cfaea76b 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index d3a507edc154409d8ba9b073e703d56672b169cc..6127fd21112a9862db45231353b0ff00db4507d8 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index 471fb673f7d14c842f45943782093447e8bdad61..5ed49f0070a03251b1d81de42440eb50ad467c1b 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <dm/pinctrl.h>
 
 #include "pinctrl-uniphier.h"
index ac35fbe294a7977e88dca7660bfe0765501e93da..7efcc8fe7a8baa335a6a73572d4e9f724a4c1539 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <errno.h>
 #include <ram.h>
 #include <asm/io.h>
-#include <dm/device.h>
 
 #define SDRAM_CFG_REG          0x0
 #define SDRAM_CFG_COL_SHIFT    4
index 29c4d4db97e80c9537f594eb1b6b5758d31f134e..5d17734090ef9202bac46adef0836116f229f133 100644 (file)
@@ -6,8 +6,8 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <reset-uclass.h>
-#include <dm/device.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
index 0843b48bea11c8f4e2712aeea3c6b7e8f0f4f6f1..b8e63b41abcf455b526faf6208be6001455536a0 100644 (file)
@@ -8,12 +8,12 @@
  */
 
 #include <clk.h>
+#include <dm.h>
 #include <debug_uart.h>
 #include <errno.h>
 #include <serial.h>
 #include <asm/io.h>
 #include <asm/types.h>
-#include <dm/device.h>
 
 /* UART Control register */
 #define UART_CTL_REG                   0x0
index 0e25cba6acc6b47e7126d785389afe105b5fc62d..7c6a0496924e79cba0f9bebb718b8b2940d2dd39 100644 (file)
@@ -6,11 +6,11 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include <dm.h>
 #include <linux/io.h>
 #include <linux/serial_reg.h>
 #include <linux/sizes.h>
 #include <linux/errno.h>
-#include <dm/device.h>
 #include <serial.h>
 #include <fdtdec.h>
 
index a4911b7d8fff3b731b56c26d2b448a33bdbb17e0..b39051c220773417ba9b883987f6d0f8a4f19acb 100644 (file)
@@ -4,7 +4,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <dm/device.h>
+#include <dm.h>
 #include <sysreset.h>
 #include <linux/errno.h>
 #include <linux/psci.h>
index 469377fe4e6ddcdc98a277b2c6a81378732569c1..5c1a902e42dcea5814fd6657ea210f3b8853db13 100644 (file)
@@ -17,6 +17,7 @@
  * SPDX-License-Identifier:    GPL-2.0
  */
 #include <common.h>
+#include <dm.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/gpio.h>