From: Mauro Carvalho Chehab Date: Tue, 5 Mar 2013 09:55:26 +0000 (-0300) Subject: [media] em28xx: Prepare to support 2 different I2C buses X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~502 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a45e5b4f8c2f96cd242ae1b1c06e7fb19a08d0;p=pandora-kernel.git [media] em28xx: Prepare to support 2 different I2C buses Newer em28xx devices have 2 buses. Change the logic to allow using both buses. This patch was generated by this small script: for i in drivers/media/usb/em28xx/*.c; do sed 's,->i2c_adap,->i2c_adap[dev->def_i2c_bus],g;s,->i2c_client,->i2c_client[dev->def_i2c_bus],' done Of course, em28xx.h needed manual edit. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed