summaryrefslogtreecommitdiff
path: root/drivers/i2c/soft_i2c.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-10-17 13:52:51 +0200
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:04 +0200
commita21ca95f8b9dca22714952b348e4905ac157b5cd (patch)
tree2d1fa9efebc62a32d80d1b79c2783df4d6c75191 /drivers/i2c/soft_i2c.c
parentcac9cf7875c2a01d63422820ed4732a9bdf5ab7b (diff)
downloadu-boot-imx-a21ca95f8b9dca22714952b348e4905ac157b5cd.zip
u-boot-imx-a21ca95f8b9dca22714952b348e4905ac157b5cd.tar.gz
u-boot-imx-a21ca95f8b9dca22714952b348e4905ac157b5cd.tar.bz2
mgsuvd: fix compiler warning when using soft_i2c driver
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/soft_i2c.c')
-rw-r--r--drivers/i2c/soft_i2c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 508d3d7..ebe60e2 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -28,6 +28,7 @@
#include <common.h>
#ifdef CONFIG_MPC8260 /* only valid for MPC8260 */
#include <ioports.h>
+#include <asm/io.h>
#endif
#ifdef CONFIG_AT91RM9200 /* need this for the at91rm9200 */
#include <asm/io.h>
@@ -39,6 +40,9 @@
#ifdef CONFIG_LPC2292
#include <asm/arch/hardware.h>
#endif
+#ifdef CONFIG_MPC866 /* only valid for MPC866 */
+#include <asm/io.h>
+#endif
#include <i2c.h>
/* #define DEBUG_I2C */