From: Ben Nizette Date: Thu, 7 Feb 2008 04:28:57 +0000 (+1100) Subject: avr32: pass i2c board info through at32_add_device_twi X-Git-Tag: v2.6.26-rc1~1128^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=040b28fc0a69281a46adcebd6b31dd74da4a8d49;p=pandora-kernel.git avr32: pass i2c board info through at32_add_device_twi New-style I2C drivers require that motherboard-mounted I2C devices are registered with the I2C core, typically at arch_initcall time. This can be done nice and neat by passing the struct i2c_board_info[] through at32_add_device_twi just like we do for the SPI board info. While we've got the hood up, remove a duplicate declaration of at32_add_device_twi() in board.h. [hskinnemoen@atmel.com: add missing i2c_board_info forward-declaration] Signed-Off-By: Ben Nizette Signed-off-by: Haavard Skinnemoen --- Reading git-diff-tree failed