Re: [PATCH -next] v4l: expose function outside of ifdef/endif block

2009-06-12 Thread Trent Piepho
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 altern

[PATCH -next] v4l: expose function outside of ifdef/endif block

2009-06-12 Thread Randy Dunlap
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: vivi.c:(.text+0x48e26): undefined reference to `v4l_bound_align_image' Signed-off-by: Randy Dunlap --- drivers/media/video/v4l2-common.c |3 +-- 1 file c