diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/i2c-gpio.c | 1 | ||||
-rw-r--r-- | drivers/i2c/iproc_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/omap24xx_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/stm32f7_i2c.c | 1 | ||||
-rw-r--r-- | drivers/i2c/tegra_i2c.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-gpio.c b/drivers/i2c/i2c-gpio.c index c1fc290bd2..5fc3cfe42e 100644 --- a/drivers/i2c/i2c-gpio.c +++ b/drivers/i2c/i2c-gpio.c @@ -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 diff --git a/drivers/i2c/iproc_i2c.c b/drivers/i2c/iproc_i2c.c index d975e78264..39af49c4ec 100644 --- a/drivers/i2c/iproc_i2c.c +++ b/drivers/i2c/iproc_i2c.c @@ -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" diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index c656cf8b7a..6fc9d1eba9 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -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> diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c index 836148e4c1..b6c71789ee 100644 --- a/drivers/i2c/stm32f7_i2c.c +++ b/drivers/i2c/stm32f7_i2c.c @@ -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 { diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c index 5864a1ad5b..57d77d56ea 100644 --- a/drivers/i2c/tegra_i2c.c +++ b/drivers/i2c/tegra_i2c.c @@ -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, |