commit | c7a45e5b4f8c2f96cd242ae1b1c06e7fb19a08d0 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Mar 05 06:55:26 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 18 18:14:15 2013 -0300 |
tree | c96a6a20bfd01b1fd39b40d583508aaed543c04f | |
parent | da508f5799659241a359e2d07abb8af905f6291c [diff] |
[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 <mchehab@redhat.com>