aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r--drivers/i2c/busses/i2c-iop3xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-iop3xx.c b/drivers/i2c/busses/i2c-iop3xx.c
index d108ab4974cc..b70a7f7daacc 100644
--- a/drivers/i2c/busses/i2c-iop3xx.c
+++ b/drivers/i2c/busses/i2c-iop3xx.c
@@ -84,7 +84,7 @@ iop3xx_i2c_enable(struct i2c_algo_iop3xx_data *iop3xx_adap)
84 * Every time unit enable is asserted, GPOD needs to be cleared 84 * Every time unit enable is asserted, GPOD needs to be cleared
85 * on IOP3XX to avoid data corruption on the bus. 85 * on IOP3XX to avoid data corruption on the bus.
86 */ 86 */
87#ifdef CONFIG_PLAT_IOP 87#if defined(CONFIG_ARCH_IOP32X) || defined(CONFIG_ARCH_IOP33X)
88 if (iop3xx_adap->id == 0) { 88 if (iop3xx_adap->id == 0) {
89 gpio_line_set(IOP3XX_GPIO_LINE(7), GPIO_LOW); 89 gpio_line_set(IOP3XX_GPIO_LINE(7), GPIO_LOW);
90 gpio_line_set(IOP3XX_GPIO_LINE(6), GPIO_LOW); 90 gpio_line_set(IOP3XX_GPIO_LINE(6), GPIO_LOW);