From: Richard Röjfors Date: Fri, 5 Jun 2009 13:40:32 +0000 (+0200) Subject: i2c-ocores: Can add I2C devices to the bus X-Git-Tag: v2.6.31-rc1~348^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd14be4c274fc484eccace03ae9726e516630331;p=pandora-kernel.git i2c-ocores: Can add I2C devices to the bus There is sometimes a need for the ocores driver to add devices to the bus when installed. i2c_register_board_info can not always be used, because the I2C devices are not known at an early state, they could for instance be connected on a I2C bus on a PCI device which has the Open Cores IP. i2c_new_device can not be used in all cases either since the resulting bus nummer might be unknown. The solution is the pass a list of I2C devices in the platform data to the Open Cores driver. This is useful for MFD drivers. Signed-off-by: Richard Röjfors Signed-off-by: Ben Dooks --- Reading git-diff-tree failed