]> err.no Git - linux-2.6/commit
i2c-ibm_iic: Add support for new-style clients
authorStefan Roese <sr@denx.de>
Sat, 13 Oct 2007 21:56:30 +0000 (23:56 +0200)
committerJean Delvare <khali@hyperion.delvare>
Sat, 13 Oct 2007 21:56:30 +0000 (23:56 +0200)
commit7589a326d1d8c9da575ca4cbc6a3e6af02b57ead
tree0e8c7309f26e22ca7ef437fcb43de46ac397482c
parent8056c6cb2bb1632aa9221dce0e43a61db37b420f
i2c-ibm_iic: Add support for new-style clients

Use i2c_bit_add_numbered_adapter() if device id specified, so that the
i2c-ibm_iic adapter works well with new-style pre-declared devices.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-ibm_iic.c