Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88ae7624 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] V4L1 removal: Remove linux/videodev.h



There's no sense on keeping it on 2.6.38, as nobody is using it
anymore, at the kernel tree, and installing it at the userspace
API.

As two deprecated drivers still need it, move it to their internal
directories.

Reviewed-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 58c66df3
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -97,23 +97,6 @@ Who: Pavel Machek <pavel@ucw.cz>

---------------------------

What:	Video4Linux API 1 ioctls and from Video devices.
When:	kernel 2.6.39
Files:	include/linux/videodev.h
Check:	include/linux/videodev.h
Why:	V4L1 AP1 was replaced by V4L2 API during migration from 2.4 to 2.6
	series. The old API have lots of drawbacks and don't provide enough
	means to work with all video and audio standards. The newer API is
	already available on the main drivers and should be used instead.

	The userspace libv4l1 library can convert V4L1 calls to V4L2. This
	replaces the kernel V4L1 compatibility module which was removed in
	2.6.38. The last V4L1 drivers will either be converted to V4L2 or
	removed for 2.6.39 at which point the V4L1 API will cease to exist.
Who:	Mauro Carvalho Chehab <mchehab@infradead.org>

---------------------------

What:	Video4Linux obsolete drivers using V4L1 API
When:	kernel 2.6.39
Files:	drivers/staging/se401/* drivers/staging/usbvideo/*
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@

#include <linux/compat.h>
#define __OLD_VIDIOC_ /* To allow fixing old calls*/
#include <linux/videodev.h>
#include <linux/videodev2.h>
#include <linux/module.h>
#include <media/v4l2-ioctl.h>
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
#define __LINUX_se401_H

#include <linux/uaccess.h>
#include <linux/videodev.h>
#include "videodev.h"
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <linux/mutex.h>
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
#ifndef usbvideo_h
#define	usbvideo_h

#include <linux/videodev.h>
#include "videodev.h"
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <linux/usb.h>
Loading