summaryrefslogtreecommitdiff
path: root/linux/include/linux/videodev.h
AgeCommit message (Collapse)Author
2009-03-10avoid loading the entire videodev.h header for drivers that are already V4L2 ↵Mauro Carvalho Chehab
only From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-17backport include changes on some .h filesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-07-26videodev: copy the VID_TYPE defines to videodev.hHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The VID_TYPE defines are V4L1 specific, so copy them back to videodev.h. In videodev2.h ensure that they are not used in the kernel (you need to include videodev.h instead) and mark them are deprecated. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-02-13V4L, include ioctl.h in videodev headersMauro Carvalho Chehab
From: Jiri Slaby <jirislaby@gmail.com> Fix compilation of user processes which includes videodev*.h but not includes linux/ioctl.h: v4l2ext_helper.c: In function 'process_ioctl': v4l2ext_helper.c:183: warning: implicit declaration of function '_IOWR' v4l2ext_helper.c:183: error: expected expression before 'struct' v4l2ext_helper.c:183: error: case label does not reduce to an integer constant Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-15v4l core: remove the unused .hardware V4L1 fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> struct video_device used to define a .hardware field. While initialized on severl drivers, this field is never used inside V4L. However, drivers using it need to include the old V4L1 header. This seems to cause compilation troubles with some random configs. Better just to remove it from all drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-06Fixes an issue with V4L1 and make headers-installMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> V4L1 support should be disabled when no CONFIG_VIDEO_V4L1_COMPAT is defined, to allow checking for broken V4L2 ports. This is very important during the migration phase for V4L2 API. However, userspace apps should be capable of using both APIs, since they need to test at runtime, via VIDIOCGCAP ioctl, if V4L1 is supported. So, when __KERNEL__ is not defined, those ioctls and corresponding structs should be visible. This patch also removes the obsolete defines HAVE_V4L1 and HAVE_V4L2, that where causing some confusion, and were replaced by CONFIG_VIDEO_V4L1_COMPAT and CONFIG_VIDEO_V4L2. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-23Fix for compilation without V4L1 or V4L1_COMPATMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Removed usage of HAVE_V4L1 Including videodev.h will just include videodev2.h if V4L1 is not supported V4L1 code at core drivers will honor CONFIG_V4L1_COMPAT stuff Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-05Removed all references to kernel stuff from videodev.h and videodev2.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The videodev.h and videodev2.h describe the public API for V4L and V4L2. It shouldn't have there any kernel-specific stuff. Those were moved to v4l2-dev.h. This patch removes some uneeded headers and include v4l2-common.h on all V4L driver. This header includes device implementation of V4L2 API provided on v4l2-dev.h as well as V4L2 internal ioctls that provides connections between master driver and its i2c devices. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-04Several improvements at videodev.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Videodev now is capable of better handling V4L2 api, by processing V4L2 ioctls and using callbacks to the driver. The drivers should be migrated to the newer way and the older one will be obsoleted soon. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2005-12-12Reverted patchset 3127 since it breaks pvrusb2 compilation.Mauro Carvalho Chehab
kernel-sync - patchset 3127 does remove old stuff from videodev.h, but breaks some drivers in kernel and pvrusb2. - should be reapplied later. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-12-07Removes obsolete stuff from videodev.hMauro Carvalho Chehab
Removes obsolete stuff from videodev.h Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-19 - Fixed user mode compiling.Mauro Carvalho Chehab
- Created a new define OBSOLETE_OWNER. It does indicate a piece of API that should be removed for kernel 2.6.15. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-18- Commented obsoleted stuff at videodev headers.Mauro Carvalho Chehab
- Removed reference to owner on video_device on em2820. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-17 - Some changes to allow compiling cx88 and saa7134 withoutMauro Carvalho Chehab
V4L1 support. - This patch will help obsoleting V4L1 API. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-16- Whitespace Cleanups.Mauro Carvalho Chehab
- Whitespace script improved. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-09 * ../linux/drivers/media/video/bttv.h:Michael Krufky
- "compat.h" must be #include'd before <linux/videodev.h> * ../linux/include/linux/videodev.h: - removed #include "compat.h" Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-08 * ../linux/include/linux/videodev.h:Michael Krufky
- #include "compat.h" * ../v4l/Makefile: - add two new make commands for tree-merge: make merge make unmerge - this allows tree-merge commands to be called from both top-level v4l-kernel and v4l-kernel/v4l * ../v4l/scripts/merge-trees.sh: * ../v4l/scripts/unmerge-trees.sh: - fix offsets Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-08 From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>Mauro Carvalho Chehab
* ../linux/drivers/media/video/tveeprom.c: - Fixed include when compiling at kernel tree * ../linux/include/linux/videodev.h: - removed compat.h from wrong place * ../linux/drivers/media/video/tvp5150.c: * ../linux/kernel/drivers/usb/media/em2820-cards.c: * ../linux/kernel/drivers/usb/media/em2820-core.c: * ../linux/kernel/drivers/usb/media/em2820-i2c.c: * ../linux/kernel/drivers/usb/media/em2820-video.c: - included compat.h at the right place * ../v4l/Make - now creates symlinks to allow compiling V4L stuff at v4l dir. * ../v4l/scripts/prepare-ChangeLog.pl: - modified to include other directories. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-28moved #include "compat.h", to the correct locationMichael Krufky
2005-08-28 * scripts/merge-trees.sh, scripts/unmerge-trees.sh:Michael Krufky
- include files into tree-merge necessary for the dvb-bt8xx and dst dvb modules, based on bt8xx chips. This also includes all dvb frontends used by bt8xx boards. * bttv.h, videodev.h: - #include "compat.h", needed for tree-merge. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-07-15 - linux/version.h removed at linux-2.6.13-rc3-mm1.Mauro Carvalho Chehab
- Removed remaining trailing spaces. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2004-10-27- drop some old, obsolete code.Gerd Knorr
- misc fixes.
2004-10-13- kill trailing whitespaces.Gerd Knorr
2004-08-25- merge 2.6.9-rc1 changes (mostly __user stuff).Gerd Knorr
2004-02-22Initial revisionGerd Knorr