From: Mauro Carvalho Chehab Date: Tue, 5 Mar 2013 09:55:27 +0000 (-0300) Subject: [media] em28xx: Add a separate config dir for secondary bus X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~501 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa2b3b9cc7cf58d044f30dcad849bff037abd25;p=pandora-kernel.git [media] em28xx: Add a separate config dir for secondary bus Prepare to register a separate bus for the second bus. For now, just add a new field. A latter patch will add the bits to make it work. This patch was generated by this script: perl -e 'while (<>) { if (s/EM2874_I2C_SECONDARY_BUS_SELECT.*\n//) { printf "\t\t.def_i2c_bus = 1,\n"; $found = 1; print $_ } else { if ($found) { s/^\s+// }; $found = 0; print $_; } }' \ drivers/media/usb/em28xx/em28xx-cards.c >a && mv a drivers/media/usb/em28xx/em28xx-cards.c Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed