From 846c556b88da6cefc77bcd828f0266c7b6f1da29 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 5 Jun 2006 10:26:32 -0300 Subject: Removed all references to kernel stuff from videodev.h and videodev2.h From: Mauro Carvalho Chehab 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 --- linux/drivers/media/video/arv.c | 1 + linux/drivers/media/video/bt8xx/bttvp.h | 1 + linux/drivers/media/video/bw-qcam.c | 1 + linux/drivers/media/video/c-qcam.c | 1 + linux/drivers/media/video/cpia.h | 1 + linux/drivers/media/video/cpia2/cpia2.h | 1 + linux/drivers/media/video/dsbr100.c | 1 + linux/drivers/media/video/meye.c | 1 + linux/drivers/media/video/ov511.h | 1 + linux/drivers/media/video/planb.c | 1 + linux/drivers/media/video/pms.c | 1 + linux/drivers/media/video/pwc/pwc.h | 2 +- linux/drivers/media/video/saa5246a.c | 1 + linux/drivers/media/video/saa5249.c | 1 + linux/drivers/media/video/saa7110.c | 1 + linux/drivers/media/video/se401.h | 1 + linux/drivers/media/video/stradis.c | 1 + linux/drivers/media/video/stv680.c | 1 + linux/drivers/media/video/tda9875.c | 1 + linux/drivers/media/video/tuner-3036.c | 1 + linux/drivers/media/video/usbvideo/usbvideo.h | 1 + linux/drivers/media/video/v4l1-compat.c | 1 + linux/drivers/media/video/vino.c | 2 +- linux/drivers/media/video/vpx3220.c | 1 + linux/drivers/media/video/w9966.c | 1 + linux/drivers/media/video/zoran_card.c | 1 + linux/drivers/media/video/zoran_driver.c | 1 + linux/drivers/media/video/zoran_procfs.c | 1 + 28 files changed, 28 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/video') diff --git a/linux/drivers/media/video/arv.c b/linux/drivers/media/video/arv.c index af3980d95..6c82b2fef 100644 --- a/linux/drivers/media/video/arv.c +++ b/linux/drivers/media/video/arv.c @@ -32,6 +32,7 @@ #include #include "compat.h" #include +#include #include #include diff --git a/linux/drivers/media/video/bt8xx/bttvp.h b/linux/drivers/media/video/bt8xx/bttvp.h index 6c41e1e2e..2d3178df5 100644 --- a/linux/drivers/media/video/bt8xx/bttvp.h +++ b/linux/drivers/media/video/bt8xx/bttvp.h @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) diff --git a/linux/drivers/media/video/bw-qcam.c b/linux/drivers/media/video/bw-qcam.c index 9941128b9..108612e1f 100644 --- a/linux/drivers/media/video/bw-qcam.c +++ b/linux/drivers/media/video/bw-qcam.c @@ -74,6 +74,7 @@ OTHER DEALINGS IN THE SOFTWARE. #include #include "compat.h" #include +#include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include #endif diff --git a/linux/drivers/media/video/c-qcam.c b/linux/drivers/media/video/c-qcam.c index 2dbd848c4..f535db726 100644 --- a/linux/drivers/media/video/c-qcam.c +++ b/linux/drivers/media/video/c-qcam.c @@ -35,6 +35,7 @@ #include #include "compat.h" #include +#include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include #endif diff --git a/linux/drivers/media/video/cpia.h b/linux/drivers/media/video/cpia.h index b8539f244..d4f61b037 100644 --- a/linux/drivers/media/video/cpia.h +++ b/linux/drivers/media/video/cpia.h @@ -46,6 +46,7 @@ #include #include "compat.h" #include +#include #include #include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) diff --git a/linux/drivers/media/video/cpia2/cpia2.h b/linux/drivers/media/video/cpia2/cpia2.h index cfbafc02d..b7226a418 100644 --- a/linux/drivers/media/video/cpia2/cpia2.h +++ b/linux/drivers/media/video/cpia2/cpia2.h @@ -33,6 +33,7 @@ #include #include +#include #include #include diff --git a/linux/drivers/media/video/dsbr100.c b/linux/drivers/media/video/dsbr100.c index a4cee9886..45d2b5028 100644 --- a/linux/drivers/media/video/dsbr100.c +++ b/linux/drivers/media/video/dsbr100.c @@ -73,6 +73,7 @@ #include #include "compat.h" #include +#include #include #include diff --git a/linux/drivers/media/video/meye.c b/linux/drivers/media/video/meye.c index a494fccd2..e9bd1724f 100644 --- a/linux/drivers/media/video/meye.c +++ b/linux/drivers/media/video/meye.c @@ -33,6 +33,7 @@ #include #include "compat.h" #include +#include #include #include #include diff --git a/linux/drivers/media/video/ov511.h b/linux/drivers/media/video/ov511.h index 3f5078a85..1749665fc 100644 --- a/linux/drivers/media/video/ov511.h +++ b/linux/drivers/media/video/ov511.h @@ -4,6 +4,7 @@ #include #include "compat.h" #include +#include #include #include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) diff --git a/linux/drivers/media/video/planb.c b/linux/drivers/media/video/planb.c index 3cfdb504d..baa0c55a7 100644 --- a/linux/drivers/media/video/planb.c +++ b/linux/drivers/media/video/planb.c @@ -41,6 +41,7 @@ #include #include "compat.h" #include +#include #include #include #include diff --git a/linux/drivers/media/video/pms.c b/linux/drivers/media/video/pms.c index e5d16a5d0..d129072a9 100644 --- a/linux/drivers/media/video/pms.c +++ b/linux/drivers/media/video/pms.c @@ -31,6 +31,7 @@ #include #include "compat.h" #include +#include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include #endif diff --git a/linux/drivers/media/video/pwc/pwc.h b/linux/drivers/media/video/pwc/pwc.h index 1fd8c34d1..a087108d0 100644 --- a/linux/drivers/media/video/pwc/pwc.h +++ b/linux/drivers/media/video/pwc/pwc.h @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include "pwc-uncompress.h" #include diff --git a/linux/drivers/media/video/saa5246a.c b/linux/drivers/media/video/saa5246a.c index 7aa9134a8..5677a9173 100644 --- a/linux/drivers/media/video/saa5246a.c +++ b/linux/drivers/media/video/saa5246a.c @@ -47,6 +47,7 @@ #include #include "compat.h" #include +#include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include #endif diff --git a/linux/drivers/media/video/saa5249.c b/linux/drivers/media/video/saa5249.c index 6fd6e1626..e35e4f9a3 100644 --- a/linux/drivers/media/video/saa5249.c +++ b/linux/drivers/media/video/saa5249.c @@ -57,6 +57,7 @@ #include #include "compat.h" #include +#include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include #endif diff --git a/linux/drivers/media/video/saa7110.c b/linux/drivers/media/video/saa7110.c index b1797cbb6..9ee45f77c 100644 --- a/linux/drivers/media/video/saa7110.c +++ b/linux/drivers/media/video/saa7110.c @@ -44,6 +44,7 @@ MODULE_LICENSE("GPL"); #include "compat.h" #include +#include #include static int debug = 0; diff --git a/linux/drivers/media/video/se401.h b/linux/drivers/media/video/se401.h index bf14af36d..9fd8485f3 100644 --- a/linux/drivers/media/video/se401.h +++ b/linux/drivers/media/video/se401.h @@ -5,6 +5,7 @@ #include #include "compat.h" #include +#include #include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include diff --git a/linux/drivers/media/video/stradis.c b/linux/drivers/media/video/stradis.c index f4be8c6af..40ebe8adf 100644 --- a/linux/drivers/media/video/stradis.c +++ b/linux/drivers/media/video/stradis.c @@ -43,6 +43,7 @@ #include #include "compat.h" #include +#include #include "saa7146.h" #include "saa7146reg.h" diff --git a/linux/drivers/media/video/stv680.c b/linux/drivers/media/video/stv680.c index f0d5bd79b..1bd4bd4e4 100644 --- a/linux/drivers/media/video/stv680.c +++ b/linux/drivers/media/video/stv680.c @@ -67,6 +67,7 @@ #include #include "compat.h" #include +#include #include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include diff --git a/linux/drivers/media/video/tda9875.c b/linux/drivers/media/video/tda9875.c index e97d2b59d..42f28e6b0 100644 --- a/linux/drivers/media/video/tda9875.c +++ b/linux/drivers/media/video/tda9875.c @@ -27,6 +27,7 @@ #include #include "compat.h" #include +#include #include #include #include diff --git a/linux/drivers/media/video/tuner-3036.c b/linux/drivers/media/video/tuner-3036.c index 545f54eaa..8b87d75f4 100644 --- a/linux/drivers/media/video/tuner-3036.c +++ b/linux/drivers/media/video/tuner-3036.c @@ -26,6 +26,7 @@ #include #include "compat.h" #include +#include #include diff --git a/linux/drivers/media/video/usbvideo/usbvideo.h b/linux/drivers/media/video/usbvideo/usbvideo.h index de266e78a..d5bb0c747 100644 --- a/linux/drivers/media/video/usbvideo/usbvideo.h +++ b/linux/drivers/media/video/usbvideo/usbvideo.h @@ -19,6 +19,7 @@ #include #include "compat.h" #include +#include #include #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include diff --git a/linux/drivers/media/video/v4l1-compat.c b/linux/drivers/media/video/v4l1-compat.c index ea5936087..d6c47a210 100644 --- a/linux/drivers/media/video/v4l1-compat.c +++ b/linux/drivers/media/video/v4l1-compat.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include diff --git a/linux/drivers/media/video/vino.c b/linux/drivers/media/video/vino.c index a739919ba..a196756c5 100644 --- a/linux/drivers/media/video/vino.c +++ b/linux/drivers/media/video/vino.c @@ -40,7 +40,7 @@ #include #include -#include +#include #include #include diff --git a/linux/drivers/media/video/vpx3220.c b/linux/drivers/media/video/vpx3220.c index a34b47326..ad92a39a8 100644 --- a/linux/drivers/media/video/vpx3220.c +++ b/linux/drivers/media/video/vpx3220.c @@ -35,6 +35,7 @@ #include "compat.h" #include +#include #include #define I2C_VPX3220 0x86 diff --git a/linux/drivers/media/video/w9966.c b/linux/drivers/media/video/w9966.c index d24d4ca3d..6a5c6303d 100644 --- a/linux/drivers/media/video/w9966.c +++ b/linux/drivers/media/video/w9966.c @@ -59,6 +59,7 @@ #include #include "compat.h" #include +#include #include //#define DEBUG // Undef me for production diff --git a/linux/drivers/media/video/zoran_card.c b/linux/drivers/media/video/zoran_card.c index cc52eb745..655a7b78b 100644 --- a/linux/drivers/media/video/zoran_card.c +++ b/linux/drivers/media/video/zoran_card.c @@ -41,6 +41,7 @@ #include #include "compat.h" #include +#include #include #include #include diff --git a/linux/drivers/media/video/zoran_driver.c b/linux/drivers/media/video/zoran_driver.c index 20a296871..6ed4a89da 100644 --- a/linux/drivers/media/video/zoran_driver.c +++ b/linux/drivers/media/video/zoran_driver.c @@ -73,6 +73,7 @@ ) #include +#include #include "videocodec.h" #include diff --git a/linux/drivers/media/video/zoran_procfs.c b/linux/drivers/media/video/zoran_procfs.c index 3472c00d4..d60be18d9 100644 --- a/linux/drivers/media/video/zoran_procfs.c +++ b/linux/drivers/media/video/zoran_procfs.c @@ -44,6 +44,7 @@ #include #include +#include #include #include "videocodec.h" -- cgit v1.2.3