]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
V4L/DVB (12003): v4l2: Move bounding code outside I2C ifdef block
authorTrent Piepho <xyzzy@speakeasy.org>
Fri, 12 Jun 2009 19:31:29 +0000 (16:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 23 Jun 2009 06:21:20 +0000 (03:21 -0300)
commitd8b2996607d492ffa99628bafc80da14d3a5482d
tree05f8eab4a1b8ee7c589a9048487ac6bb87d1be7b
parent1ca27379f3673b40edbd2fec53b93c993fdb4f0c
V4L/DVB (12003): v4l2: Move bounding code outside I2C ifdef block

On Fri, 12 Jun 2009, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> 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 <randy.dunlap@oracle.com>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-common.c