From: Trent Piepho Date: Fri, 12 Jun 2009 19:31:29 +0000 (-0300) Subject: V4L/DVB (12003): v4l2: Move bounding code outside I2C ifdef block X-Git-Tag: v2.6.31-rc1~40^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b2996607d492ffa99628bafc80da14d3a5482d;p=pandora-kernel.git V4L/DVB (12003): v4l2: Move bounding code outside I2C ifdef block On Fri, 12 Jun 2009, Randy Dunlap wrote: > From: Randy Dunlap > > Move v4l_bound_align_image() outside of an #ifdef CONFIG_I2C block > so that it is always built. Fixes a build error: clamp_align() should be moved as well, since it's only used by v4l_bound_align_image(). I'm attaching an alternate version that fixes this. Labeled the endif too. Reported-by: Randy Dunlap Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed