diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-designware.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ixp2000.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-designware.c b/drivers/i2c/busses/i2c-designware.c index b7a51c43b185..1b42b50b5992 100644 --- a/drivers/i2c/busses/i2c-designware.c +++ b/drivers/i2c/busses/i2c-designware.c | |||
@@ -390,7 +390,7 @@ i2c_dw_xfer_msg(struct dw_i2c_dev *dev) | |||
390 | int tx_limit, rx_limit; | 390 | int tx_limit, rx_limit; |
391 | u32 addr = msgs[dev->msg_write_idx].addr; | 391 | u32 addr = msgs[dev->msg_write_idx].addr; |
392 | u32 buf_len = dev->tx_buf_len; | 392 | u32 buf_len = dev->tx_buf_len; |
393 | u8 *buf = dev->tx_buf;; | 393 | u8 *buf = dev->tx_buf; |
394 | 394 | ||
395 | intr_mask = DW_IC_INTR_DEFAULT_MASK; | 395 | intr_mask = DW_IC_INTR_DEFAULT_MASK; |
396 | 396 | ||
diff --git a/drivers/i2c/busses/i2c-ixp2000.c b/drivers/i2c/busses/i2c-ixp2000.c index 5d8aed5ec21b..c01e9519f6c1 100644 --- a/drivers/i2c/busses/i2c-ixp2000.c +++ b/drivers/i2c/busses/i2c-ixp2000.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
36 | 36 | ||
37 | #include <mach/hardware.h> /* Pick up IXP2000-specific bits */ | 37 | #include <mach/hardware.h> /* Pick up IXP2000-specific bits */ |
38 | #include <mach/gpio.h> | 38 | #include <mach/gpio-ixp2000.h> |
39 | 39 | ||
40 | static inline int ixp2000_scl_pin(void *data) | 40 | static inline int ixp2000_scl_pin(void *data) |
41 | { | 41 | { |