summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/uvc/uvc_ctrl.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-12-16 07:36:07 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-16 07:36:07 -0200
commit4c8a6b3ba0d22598879b1546c088cb8a3eb895a0 (patch)
tree25adb7c085349b46eefb124230d5faeda44f0a87 /linux/drivers/media/video/uvc/uvc_ctrl.c
parentd008178a2a79c10f6a8968c40c2dd5452df61664 (diff)
downloadmediapointer-dvb-s2-4c8a6b3ba0d22598879b1546c088cb8a3eb895a0.tar.gz
mediapointer-dvb-s2-4c8a6b3ba0d22598879b1546c088cb8a3eb895a0.tar.bz2
Fix compilation for kernels older than 2.6.26
From: Mauro Carvalho Chehab <mchehab@redhat.com> 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.heitmueller@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 <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/uvc/uvc_ctrl.c')
0 files changed, 0 insertions, 0 deletions