From c05ed00afb95fa5237f16962fccf5810437317bf Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:11 -0600 Subject: common: Drop linux/delay.h from common header Move this uncommon header out of the common header. Signed-off-by: Simon Glass --- drivers/i2c/ast_i2c.c | 1 + drivers/i2c/davinci_i2c.c | 1 + drivers/i2c/designware_i2c.c | 1 + drivers/i2c/exynos_hs_i2c.c | 1 + drivers/i2c/fsl_i2c.c | 1 + drivers/i2c/i2c-cdns.c | 1 + drivers/i2c/i2c-gpio.c | 1 + drivers/i2c/i2c-uclass.c | 1 + drivers/i2c/i2c-versatile.c | 1 + drivers/i2c/ihs_i2c.c | 1 + drivers/i2c/kona_i2c.c | 1 + drivers/i2c/meson_i2c.c | 1 + drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 1 + drivers/i2c/mv_i2c.c | 1 + drivers/i2c/mvtwsi.c | 1 + drivers/i2c/mxc_i2c.c | 1 + drivers/i2c/omap24xx_i2c.c | 1 + drivers/i2c/rcar_i2c.c | 1 + drivers/i2c/rcar_iic.c | 1 + drivers/i2c/rk_i2c.c | 1 + drivers/i2c/sh_i2c.c | 1 + drivers/i2c/soft_i2c.c | 1 + drivers/i2c/stm32f7_i2c.c | 1 + drivers/i2c/tegra_i2c.c | 1 + 24 files changed, 24 insertions(+) (limited to 'drivers/i2c') 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 #include #include +#include #include #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 #include #include +#include #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 #include #include +#include #include "designware_i2c.h" #include #include 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 #include #include +#include #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 #include #include +#include /* 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 #include #include +#include #include #include #include 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 #include #include +#include #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 #endif +#include #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 #include #include +#include #include #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 #include +#include #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 #include #include +#include #include #include #include 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 #include #include +#include #include #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 #include #include +#include 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 #include #include +#include #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 #include #include +#include #include #include #include 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 #include #include +#include #include #include #include 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 #include #include +#include #include #include 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 #include #include +#include #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 #include #include +#include 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 #include #include +#include #include /* 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 #include #include +#include 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 +#include #if defined(CONFIG_SOFT_I2C_GPIO_SCL) # include 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 #include #include +#include #include #include 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 #include +#include #include enum i2c_type { -- cgit