diff options
Diffstat (limited to 'drivers/i2c/s3c24x0_i2c.c')
| -rw-r--r-- | drivers/i2c/s3c24x0_i2c.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c index 46d25061e..382e4c2ec 100644 --- a/drivers/i2c/s3c24x0_i2c.c +++ b/drivers/i2c/s3c24x0_i2c.c @@ -518,8 +518,9 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len)  #ifdef CONFIG_OF_CONTROL  void board_i2c_init(const void *blob)  { +	int i;  	int node_list[CONFIG_MAX_I2C_NUM]; -	int count, i; +	int count;  	count = fdtdec_find_aliases_for_id(blob, "i2c",  		COMPAT_SAMSUNG_S3C2440_I2C, node_list, |