You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
V4L/DVB (4068): Removed all references to kernel stuff from videodev.h and videodev2.h
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>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include "oss/aci.h"
|
||||
#include "miropcm20-rds-core.h"
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_RTRACK_PORT */
|
||||
#include <asm/semaphore.h> /* Lock for the I/O */
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_AZTECH_PORT */
|
||||
|
||||
/* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/param.h>
|
||||
#include <linux/pnp.h>
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/errno.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_GEMTEK_PORT */
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/videodev.h>
|
||||
|
||||
#include <media/v4l2-common.h>
|
||||
|
||||
#define DRIVER_VERSION "0.05"
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
|
||||
#include <linux/pci.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
|
||||
/* version 0.75 Sun Feb 4 22:51:27 EET 2001 */
|
||||
#define DRIVER_VERSION "0.75"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_RTRACK2_PORT */
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <linux/ioport.h> /* request_region */
|
||||
#include <linux/delay.h> /* udelay */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/isapnp.h>
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
static struct mutex lock;
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_TERRATEC_PORT */
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_TRUST_PORT */
|
||||
|
||||
/* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_TYPHOON_* */
|
||||
|
||||
#define BANNER "Typhoon Radio Card driver v0.1\n"
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <asm/io.h> /* outb, outb_p */
|
||||
#include <asm/uaccess.h> /* copy to/from user */
|
||||
#include <linux/videodev.h> /* kernel radio structs */
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/config.h> /* CONFIG_RADIO_ZOLTRIX_PORT */
|
||||
|
||||
#ifndef CONFIG_RADIO_ZOLTRIX_PORT
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <linux/mm.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/i2c-algo-bit.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/input.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
@@ -73,6 +73,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include <linux/parport.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <linux/parport.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/videodev.h>
|
||||
#include <media/v4l2-common.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user