diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/i2c-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 42e852d79ffa..5a485c22660a 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -266,6 +266,9 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_board_info const *info) | |||
266 | 266 | ||
267 | client->dev.platform_data = info->platform_data; | 267 | client->dev.platform_data = info->platform_data; |
268 | 268 | ||
269 | if (info->archdata) | ||
270 | client->dev.archdata = *info->archdata; | ||
271 | |||
269 | client->flags = info->flags; | 272 | client->flags = info->flags; |
270 | client->addr = info->addr; | 273 | client->addr = info->addr; |
271 | client->irq = info->irq; | 274 | client->irq = info->irq; |