The patch number 9901 was added via Mauro Carvalho Chehab <mche...@redhat.com> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: v4l-dvb-maintai...@linuxtv.org ------ From: Mauro Carvalho Chehab <mche...@redhat.com> Fix compilation for kernels older than 2.6.26 tvp514x were written using newer i2c improvements committed on kernel 2.6.26. So, we need to not compile it with older kernels. As pointed by Devin Heitmueller <devin.heitmuel...@gmail.com>: Reported by a user on the #linuxtv chatroom and confirmed by mkrufky: make -C /home/wil/v4l-dvb/v4l make[1]: Entering directory `/home/wil/v4l-dvb/v4l' creating symbolic links... Kernel build directory is /lib/modules/2.6.24-20-generic/build make -C /lib/modules/2.6.24-20-generic/build SUBDIRS=/home/wil/v4l-dvb/v4l modules make[2]: Entering directory `/usr/src/linux-headers-2.6.24-20-generic' CC [M] /home/wil/v4l-dvb/v4l/tvp514x.o /home/wil/v4l-dvb/v4l/tvp514x.c: In function 'ioctl_s_power': /home/wil/v4l-dvb/v4l/tvp514x.c:1238: error: dereferencing pointer to incomplete type /home/wil/v4l-dvb/v4l/tvp514x.c: At top level: /home/wil/v4l-dvb/v4l/tvp514x.c:1524: error: array type has incomplete element type /home/wil/v4l-dvb/v4l/tvp514x.c:1539: warning: initialization from incompatible pointer type /home/wil/v4l-dvb/v4l/tvp514x.c:1541: error: unknown field 'id_table' specified in initializer make[3]: *** [/home/wil/v4l-dvb/v4l/tvp514x.o] Error 1 make[2]: *** [_module_/home/wil/v4l-dvb/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-20-generic' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/wil/v4l-dvb/v4l' make: *** [all] Error 2 Priority: normal Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com> --- v4l/versions.txt | 2 ++ 1 file changed, 2 insertions(+) diff -r deea3f6ce419 -r 8ff88983e65a v4l/versions.txt --- a/v4l/versions.txt Mon Dec 15 01:41:26 2008 -0200 +++ b/v4l/versions.txt Tue Dec 16 07:36:07 2008 -0200 @@ -4,6 +4,8 @@ [2.6.26] # Needs camera.h VIDEO_PXA27x +# Requires struct i2c_device_id +VIDEO_TVP514X [2.6.25] # Requires gpiolib --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/8ff88983e65aec680ea9448b4a576c3e86e00731 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits