Age | Commit message (Collapse) | Author |
|
only
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
From: Mauro Carvalho Chehab <mchehab@redhat.com>
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Removes obsolete stuff from videodev.h
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- 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>
|
|
- Removed reference to owner on video_device on em2820.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
V4L1 support.
- This patch will help obsoleting V4L1 API.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Whitespace script improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- "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>
|
|
- #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>
|
|
* ../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>
|
|
|
|
- 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>
|
|
- Removed remaining trailing spaces.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- misc fixes.
|
|
|
|
|
|
|