i2c: Add info->archdata field
commit11f1f2afd6b07729b12aaba479344d7f12d88ff9
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 22 Oct 2008 18:21:33 +0000 (22 20:21 +0200)
committerJean Delvare <khali@linux-fr.org>
Wed, 22 Oct 2008 18:21:33 +0000 (22 20:21 +0200)
treeb0744f435b33869d9b2bb832f1df7cb5c9c6f6bc
parent02cf617282c6917484410f86ded3f2d99a05f098
i2c: Add info->archdata field

If present the info->archdata is copied into the dev->archdata.
Some (OpenFirmware) platforms need it.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c
include/linux/i2c.h