diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index c0c45fd36a1..0b46c9c7aa4 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -31,12 +31,9 @@ */ #include -#include - -#if defined(CONFIG_HARD_I2C) - #include #include +#include #include struct mxc_i2c_regs { @@ -446,4 +443,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buf, int len) return ret; } -#endif /* CONFIG_HARD_I2C */