From: Troy Kisky Date: Thu, 19 Jul 2012 08:18:03 +0000 (+0000) Subject: mxc_i2c: remove ifdef of CONFIG_HARD_I2C X-Git-Tag: v2012.10-rc1~415^2~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=24cd738bc420630f5362e2845a9f8aa4076273e5;p=oweals%2Fu-boot.git mxc_i2c: remove ifdef of CONFIG_HARD_I2C This is always selected when CONFIG_I2C_MXC is selected, so it adds no value. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index c0c45fd36a..0b46c9c7aa 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 */