diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:40:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 21:19:23 -0400 |
commit | c05ed00afb95fa5237f16962fccf5810437317bf (patch) | |
tree | 19bb43dd3c7d12205fffb104db7c799d0a37af9f /drivers/i2c | |
parent | 07e1114671c8b13d1bb90548a3c5ea31c49415d1 (diff) |
common: Drop linux/delay.h from common header
Move this uncommon header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/ast_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/davinci_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/designware_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/exynos_hs_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/fsl_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/i2c-cdns.c | 1 | ||||
-rw-r--r-- | drivers/i2c/i2c-gpio.c | 1 | ||||
-rw-r--r-- | drivers/i2c/i2c-uclass.c | 1 | ||||
-rw-r--r-- | drivers/i2c/i2c-versatile.c | 1 | ||||
-rw-r--r-- | drivers/i2c/ihs_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/kona_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/meson_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 1 | ||||
-rw-r--r-- | drivers/i2c/mv_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/mvtwsi.c | 1 | ||||
-rw-r--r-- | drivers/i2c/mxc_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/omap24xx_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/rcar_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/rcar_iic.c | 1 | ||||
-rw-r--r-- | drivers/i2c/rk_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/sh_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/soft_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/stm32f7_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/tegra_i2c.c | 1 |
24 files changed, 24 insertions, 0 deletions
diff --git a/drivers/i2c/ast_i2c.c b/drivers/i2c/ast_i2c.c index 9e6dc02b61..214362d04b 100644 --- a/drivers/i2c/ast_i2c.c +++ b/drivers/i2c/ast_i2c.c @@ -14,6 +14,7 @@ #include <log.h> #include <asm/io.h> #include <asm/arch/scu_ast2500.h> +#include <linux/delay.h> #include <linux/err.h> #include "ast_i2c.h" diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c index f41ea01b10..f8e9d003e6 100644 --- a/drivers/i2c/davinci_i2c.c +++ b/drivers/i2c/davinci_i2c.c @@ -18,6 +18,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/i2c_defs.h> #include <asm/io.h> +#include <linux/delay.h> #include "davinci_i2c.h" #ifdef CONFIG_DM_I2C diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 4c4b5e17ca..42ee7d523e 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -13,6 +13,7 @@ #include <pci.h> #include <reset.h> #include <asm/io.h> +#include <linux/delay.h> #include "designware_i2c.h" #include <dm/device_compat.h> #include <linux/err.h> diff --git a/drivers/i2c/exynos_hs_i2c.c b/drivers/i2c/exynos_hs_i2c.c index 59fc9a3c09..4fc9d90580 100644 --- a/drivers/i2c/exynos_hs_i2c.c +++ b/drivers/i2c/exynos_hs_i2c.c @@ -13,6 +13,7 @@ #include <asm/arch/clk.h> #include <asm/arch/cpu.h> #include <asm/arch/pinmux.h> +#include <linux/delay.h> #include "s3c24x0_i2c.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 7e3c75b610..da933452f5 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -16,6 +16,7 @@ #include <clk.h> #include <dm.h> #include <mapmem.h> +#include <linux/delay.h> /* The maximum number of microseconds we will wait until another master has * released the bus. If not defined in the board header file, then use a diff --git a/drivers/i2c/i2c-cdns.c b/drivers/i2c/i2c-cdns.c index 642df972e5..402a664876 100644 --- a/drivers/i2c/i2c-cdns.c +++ b/drivers/i2c/i2c-cdns.c @@ -10,6 +10,7 @@ #include <common.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> #include <linux/types.h> #include <linux/io.h> #include <linux/errno.h> diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c index 900017ad04..cfdeadc752 100644 --- a/drivers/i2c/i2c-gpio.c +++ b/drivers/i2c/i2c-gpio.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <log.h> #include <asm/gpio.h> +#include <linux/delay.h> #define DEFAULT_UDELAY 5 #define RETRIES 0 diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c index 32aed921b7..8166df7ba6 100644 --- a/drivers/i2c/i2c-uclass.c +++ b/drivers/i2c/i2c-uclass.c @@ -15,6 +15,7 @@ #if CONFIG_IS_ENABLED(DM_GPIO) #include <asm/gpio.h> #endif +#include <linux/delay.h> #define I2C_MAX_OFFSET_LEN 4 diff --git a/drivers/i2c/i2c-versatile.c b/drivers/i2c/i2c-versatile.c index f523844204..46eb017ea0 100644 --- a/drivers/i2c/i2c-versatile.c +++ b/drivers/i2c/i2c-versatile.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <asm/io.h> #include <clk.h> +#include <linux/delay.h> #include <linux/io.h> #define I2C_CONTROL_REG 0x00 diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c index 674561b4ad..296e01b41c 100644 --- a/drivers/i2c/ihs_i2c.c +++ b/drivers/i2c/ihs_i2c.c @@ -14,6 +14,7 @@ #endif #include <log.h> #include <asm/unaligned.h> +#include <linux/delay.h> #ifdef CONFIG_DM_I2C struct ihs_i2c_priv { diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c index 61c4045959..4edcba2911 100644 --- a/drivers/i2c/kona_i2c.c +++ b/drivers/i2c/kona_i2c.c @@ -9,6 +9,7 @@ #include <common.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> diff --git a/drivers/i2c/meson_i2c.c b/drivers/i2c/meson_i2c.c index 2eb1eba642..0a647b8f73 100644 --- a/drivers/i2c/meson_i2c.c +++ b/drivers/i2c/meson_i2c.c @@ -8,6 +8,7 @@ #include <clk.h> #include <dm.h> #include <i2c.h> +#include <linux/delay.h> #include <linux/err.h> #define I2C_TIMEOUT_MS 100 diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 07600c5022..584d0a4fef 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c @@ -11,6 +11,7 @@ #include <log.h> #include <malloc.h> #include <asm/gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/mv_i2c.c b/drivers/i2c/mv_i2c.c index 88b62959d3..59675d8d57 100644 --- a/drivers/i2c/mv_i2c.c +++ b/drivers/i2c/mv_i2c.c @@ -21,6 +21,7 @@ #include <i2c.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include "mv_i2c.h" /* All transfers are described by this data structure */ diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index bd94ad256c..d3cc9b9d83 100644 --- a/drivers/i2c/mvtwsi.c +++ b/drivers/i2c/mvtwsi.c @@ -10,6 +10,7 @@ #include <common.h> #include <i2c.h> #include <log.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 66a90e4258..3b0d27e6cd 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -18,6 +18,7 @@ #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/sys_proto.h> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index d5be824de8..8592a819c4 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -42,6 +42,7 @@ #include <dm.h> #include <i2c.h> #include <log.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/omap_i2c.h> diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c index b877602aab..5a902047bc 100644 --- a/drivers/i2c/rcar_i2c.c +++ b/drivers/i2c/rcar_i2c.c @@ -18,6 +18,7 @@ #include <asm/io.h> #include <wait_bit.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define RCAR_I2C_ICSCR 0x00 /* slave ctrl */ #define RCAR_I2C_ICMCR 0x04 /* master ctrl */ diff --git a/drivers/i2c/rcar_iic.c b/drivers/i2c/rcar_iic.c index 2a82eb0b76..6b21f6a532 100644 --- a/drivers/i2c/rcar_iic.c +++ b/drivers/i2c/rcar_iic.c @@ -14,6 +14,7 @@ #include <dm.h> #include <i2c.h> #include <asm/io.h> +#include <linux/delay.h> struct rcar_iic_priv { void __iomem *base; diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c index 703d9a1c7a..fa6f69f400 100644 --- a/drivers/i2c/rk_i2c.c +++ b/drivers/i2c/rk_i2c.c @@ -17,6 +17,7 @@ #include <asm/arch-rockchip/i2c.h> #include <asm/arch-rockchip/periph.h> #include <dm/pinctrl.h> +#include <linux/delay.h> #include <linux/sizes.h> /* i2c timerout */ diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index 5cc5095666..f857307e6a 100644 --- a/drivers/i2c/sh_i2c.c +++ b/drivers/i2c/sh_i2c.c @@ -11,6 +11,7 @@ #include <i2c.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index 9ad1c281ff..1031066b8c 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2c/soft_i2c.c @@ -25,6 +25,7 @@ #endif #endif #include <i2c.h> +#include <linux/delay.h> #if defined(CONFIG_SOFT_I2C_GPIO_SCL) # include <asm/gpio.h> diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index 4adac498d0..18affd08e3 100644 --- a/drivers/i2c/stm32f7_i2c.c +++ b/drivers/i2c/stm32f7_i2c.c @@ -9,6 +9,7 @@ #include <i2c.h> #include <log.h> #include <reset.h> +#include <linux/delay.h> #include <dm/device.h> #include <linux/err.h> diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c index 09c0be9dcd..65b3734348 100644 --- a/drivers/i2c/tegra_i2c.c +++ b/drivers/i2c/tegra_i2c.c @@ -19,6 +19,7 @@ #endif #include <asm/arch/gpio.h> #include <asm/arch-tegra/tegra_i2c.h> +#include <linux/delay.h> #include <linux/err.h> enum i2c_type { |