diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ixp2000.c')
| -rw-r--r-- | drivers/i2c/busses/i2c-ixp2000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ixp2000.c b/drivers/i2c/busses/i2c-ixp2000.c index efa3ecc5522a..6352121a2827 100644 --- a/drivers/i2c/busses/i2c-ixp2000.c +++ b/drivers/i2c/busses/i2c-ixp2000.c | |||
| @@ -118,7 +118,7 @@ static int ixp2000_i2c_probe(struct platform_device *plat_dev) | |||
| 118 | 118 | ||
| 119 | drv_data->adapter.id = I2C_HW_B_IXP2000, | 119 | drv_data->adapter.id = I2C_HW_B_IXP2000, |
| 120 | strlcpy(drv_data->adapter.name, plat_dev->dev.driver->name, | 120 | strlcpy(drv_data->adapter.name, plat_dev->dev.driver->name, |
| 121 | I2C_NAME_SIZE); | 121 | sizeof(drv_data->adapter.name)); |
| 122 | drv_data->adapter.algo_data = &drv_data->algo_data, | 122 | drv_data->adapter.algo_data = &drv_data->algo_data, |
| 123 | 123 | ||
| 124 | drv_data->adapter.dev.parent = &plat_dev->dev; | 124 | drv_data->adapter.dev.parent = &plat_dev->dev; |
