diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-05 09:26:32 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:05 -0400 |
commit | 5e87efa3b29c105f81fea785babafb098e4e046d (patch) | |
tree | 7782d36699174e5985ee7ddca3860df130b0bbbb /drivers/media/radio | |
parent | 839e4a4acb90fd34e3f6765bef6fe03ee82dbc58 (diff) |
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>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/miropcm20-radio.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-aimslab.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-aztech.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-cadet.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-gemtek-pci.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-gemtek.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-maestro.c | 2 | ||||
-rw-r--r-- | drivers/media/radio/radio-maxiradio.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-rtrack2.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-sf16fmi.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-sf16fmr2.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-terratec.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-trust.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-typhoon.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/radio-zoltrix.c | 1 |
15 files changed, 15 insertions, 1 deletions
diff --git a/drivers/media/radio/miropcm20-radio.c b/drivers/media/radio/miropcm20-radio.c index 7765c6a0cfe6..c4312fa0e2f5 100644 --- a/drivers/media/radio/miropcm20-radio.c +++ b/drivers/media/radio/miropcm20-radio.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/init.h> | 23 | #include <linux/init.h> |
24 | #include <linux/videodev.h> | 24 | #include <linux/videodev.h> |
25 | #include <media/v4l2-common.h> | ||
25 | #include "oss/aci.h" | 26 | #include "oss/aci.h" |
26 | #include "miropcm20-rds-core.h" | 27 | #include "miropcm20-rds-core.h" |
27 | 28 | ||
diff --git a/drivers/media/radio/radio-aimslab.c b/drivers/media/radio/radio-aimslab.c index 36119d77f868..df22a582e7a2 100644 --- a/drivers/media/radio/radio-aimslab.c +++ b/drivers/media/radio/radio-aimslab.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <asm/io.h> /* outb, outb_p */ | 34 | #include <asm/io.h> /* outb, outb_p */ |
35 | #include <asm/uaccess.h> /* copy to/from user */ | 35 | #include <asm/uaccess.h> /* copy to/from user */ |
36 | #include <linux/videodev.h> /* kernel radio structs */ | 36 | #include <linux/videodev.h> /* kernel radio structs */ |
37 | #include <media/v4l2-common.h> | ||
37 | #include <linux/config.h> /* CONFIG_RADIO_RTRACK_PORT */ | 38 | #include <linux/config.h> /* CONFIG_RADIO_RTRACK_PORT */ |
38 | #include <asm/semaphore.h> /* Lock for the I/O */ | 39 | #include <asm/semaphore.h> /* Lock for the I/O */ |
39 | 40 | ||
diff --git a/drivers/media/radio/radio-aztech.c b/drivers/media/radio/radio-aztech.c index ca676245c071..95e6322133ee 100644 --- a/drivers/media/radio/radio-aztech.c +++ b/drivers/media/radio/radio-aztech.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <asm/io.h> /* outb, outb_p */ | 31 | #include <asm/io.h> /* outb, outb_p */ |
32 | #include <asm/uaccess.h> /* copy to/from user */ | 32 | #include <asm/uaccess.h> /* copy to/from user */ |
33 | #include <linux/videodev.h> /* kernel radio structs */ | 33 | #include <linux/videodev.h> /* kernel radio structs */ |
34 | #include <media/v4l2-common.h> | ||
34 | #include <linux/config.h> /* CONFIG_RADIO_AZTECH_PORT */ | 35 | #include <linux/config.h> /* CONFIG_RADIO_AZTECH_PORT */ |
35 | 36 | ||
36 | /* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */ | 37 | /* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */ |
diff --git a/drivers/media/radio/radio-cadet.c b/drivers/media/radio/radio-cadet.c index c048454c7ba5..8641aec7baf8 100644 --- a/drivers/media/radio/radio-cadet.c +++ b/drivers/media/radio/radio-cadet.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <asm/io.h> /* outb, outb_p */ | 34 | #include <asm/io.h> /* outb, outb_p */ |
35 | #include <asm/uaccess.h> /* copy to/from user */ | 35 | #include <asm/uaccess.h> /* copy to/from user */ |
36 | #include <linux/videodev.h> /* kernel radio structs */ | 36 | #include <linux/videodev.h> /* kernel radio structs */ |
37 | #include <media/v4l2-common.h> | ||
37 | #include <linux/param.h> | 38 | #include <linux/param.h> |
38 | #include <linux/pnp.h> | 39 | #include <linux/pnp.h> |
39 | 40 | ||
diff --git a/drivers/media/radio/radio-gemtek-pci.c b/drivers/media/radio/radio-gemtek-pci.c index d5c3c4b878c7..9f249e7e60c9 100644 --- a/drivers/media/radio/radio-gemtek-pci.c +++ b/drivers/media/radio/radio-gemtek-pci.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/init.h> | 44 | #include <linux/init.h> |
45 | #include <linux/pci.h> | 45 | #include <linux/pci.h> |
46 | #include <linux/videodev.h> | 46 | #include <linux/videodev.h> |
47 | #include <media/v4l2-common.h> | ||
47 | #include <linux/errno.h> | 48 | #include <linux/errno.h> |
48 | 49 | ||
49 | #include <asm/io.h> | 50 | #include <asm/io.h> |
diff --git a/drivers/media/radio/radio-gemtek.c b/drivers/media/radio/radio-gemtek.c index 77a1e12333a3..162f37d8bf96 100644 --- a/drivers/media/radio/radio-gemtek.c +++ b/drivers/media/radio/radio-gemtek.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <asm/io.h> /* outb, outb_p */ | 22 | #include <asm/io.h> /* outb, outb_p */ |
23 | #include <asm/uaccess.h> /* copy to/from user */ | 23 | #include <asm/uaccess.h> /* copy to/from user */ |
24 | #include <linux/videodev.h> /* kernel radio structs */ | 24 | #include <linux/videodev.h> /* kernel radio structs */ |
25 | #include <media/v4l2-common.h> | ||
25 | #include <linux/config.h> /* CONFIG_RADIO_GEMTEK_PORT */ | 26 | #include <linux/config.h> /* CONFIG_RADIO_GEMTEK_PORT */ |
26 | #include <linux/spinlock.h> | 27 | #include <linux/spinlock.h> |
27 | 28 | ||
diff --git a/drivers/media/radio/radio-maestro.c b/drivers/media/radio/radio-maestro.c index 2501792e1fa8..fcfa6c9fe225 100644 --- a/drivers/media/radio/radio-maestro.c +++ b/drivers/media/radio/radio-maestro.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/mutex.h> | 26 | #include <linux/mutex.h> |
27 | #include <linux/pci.h> | 27 | #include <linux/pci.h> |
28 | #include <linux/videodev.h> | 28 | #include <linux/videodev.h> |
29 | 29 | #include <media/v4l2-common.h> | |
30 | 30 | ||
31 | #define DRIVER_VERSION "0.05" | 31 | #define DRIVER_VERSION "0.05" |
32 | 32 | ||
diff --git a/drivers/media/radio/radio-maxiradio.c b/drivers/media/radio/radio-maxiradio.c index fe2552569690..f93d7afe7304 100644 --- a/drivers/media/radio/radio-maxiradio.c +++ b/drivers/media/radio/radio-maxiradio.c | |||
@@ -41,6 +41,7 @@ | |||
41 | 41 | ||
42 | #include <linux/pci.h> | 42 | #include <linux/pci.h> |
43 | #include <linux/videodev.h> | 43 | #include <linux/videodev.h> |
44 | #include <media/v4l2-common.h> | ||
44 | 45 | ||
45 | /* version 0.75 Sun Feb 4 22:51:27 EET 2001 */ | 46 | /* version 0.75 Sun Feb 4 22:51:27 EET 2001 */ |
46 | #define DRIVER_VERSION "0.75" | 47 | #define DRIVER_VERSION "0.75" |
diff --git a/drivers/media/radio/radio-rtrack2.c b/drivers/media/radio/radio-rtrack2.c index 3821d25ed411..5b68ac4c7322 100644 --- a/drivers/media/radio/radio-rtrack2.c +++ b/drivers/media/radio/radio-rtrack2.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <asm/io.h> /* outb, outb_p */ | 15 | #include <asm/io.h> /* outb, outb_p */ |
16 | #include <asm/uaccess.h> /* copy to/from user */ | 16 | #include <asm/uaccess.h> /* copy to/from user */ |
17 | #include <linux/videodev.h> /* kernel radio structs */ | 17 | #include <linux/videodev.h> /* kernel radio structs */ |
18 | #include <media/v4l2-common.h> | ||
18 | #include <linux/config.h> /* CONFIG_RADIO_RTRACK2_PORT */ | 19 | #include <linux/config.h> /* CONFIG_RADIO_RTRACK2_PORT */ |
19 | #include <linux/spinlock.h> | 20 | #include <linux/spinlock.h> |
20 | 21 | ||
diff --git a/drivers/media/radio/radio-sf16fmi.c b/drivers/media/radio/radio-sf16fmi.c index 70cfbc3910dd..efee6e339d15 100644 --- a/drivers/media/radio/radio-sf16fmi.c +++ b/drivers/media/radio/radio-sf16fmi.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/ioport.h> /* request_region */ | 21 | #include <linux/ioport.h> /* request_region */ |
22 | #include <linux/delay.h> /* udelay */ | 22 | #include <linux/delay.h> /* udelay */ |
23 | #include <linux/videodev.h> /* kernel radio structs */ | 23 | #include <linux/videodev.h> /* kernel radio structs */ |
24 | #include <media/v4l2-common.h> | ||
24 | #include <linux/isapnp.h> | 25 | #include <linux/isapnp.h> |
25 | #include <asm/io.h> /* outb, outb_p */ | 26 | #include <asm/io.h> /* outb, outb_p */ |
26 | #include <asm/uaccess.h> /* copy to/from user */ | 27 | #include <asm/uaccess.h> /* copy to/from user */ |
diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c index ca560a4cd41f..3483b2c7bc9d 100644 --- a/drivers/media/radio/radio-sf16fmr2.c +++ b/drivers/media/radio/radio-sf16fmr2.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <asm/io.h> /* outb, outb_p */ | 19 | #include <asm/io.h> /* outb, outb_p */ |
20 | #include <asm/uaccess.h> /* copy to/from user */ | 20 | #include <asm/uaccess.h> /* copy to/from user */ |
21 | #include <linux/videodev.h> /* kernel radio structs */ | 21 | #include <linux/videodev.h> /* kernel radio structs */ |
22 | #include <media/v4l2-common.h> | ||
22 | #include <linux/mutex.h> | 23 | #include <linux/mutex.h> |
23 | 24 | ||
24 | static struct mutex lock; | 25 | static struct mutex lock; |
diff --git a/drivers/media/radio/radio-terratec.c b/drivers/media/radio/radio-terratec.c index 3ac0c361b9a2..dfba4ae596cd 100644 --- a/drivers/media/radio/radio-terratec.c +++ b/drivers/media/radio/radio-terratec.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <asm/io.h> /* outb, outb_p */ | 30 | #include <asm/io.h> /* outb, outb_p */ |
31 | #include <asm/uaccess.h> /* copy to/from user */ | 31 | #include <asm/uaccess.h> /* copy to/from user */ |
32 | #include <linux/videodev.h> /* kernel radio structs */ | 32 | #include <linux/videodev.h> /* kernel radio structs */ |
33 | #include <media/v4l2-common.h> | ||
33 | #include <linux/config.h> /* CONFIG_RADIO_TERRATEC_PORT */ | 34 | #include <linux/config.h> /* CONFIG_RADIO_TERRATEC_PORT */ |
34 | #include <linux/spinlock.h> | 35 | #include <linux/spinlock.h> |
35 | 36 | ||
diff --git a/drivers/media/radio/radio-trust.c b/drivers/media/radio/radio-trust.c index efcec0181c2c..8da4badc22b4 100644 --- a/drivers/media/radio/radio-trust.c +++ b/drivers/media/radio/radio-trust.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <asm/io.h> | 22 | #include <asm/io.h> |
23 | #include <asm/uaccess.h> | 23 | #include <asm/uaccess.h> |
24 | #include <linux/videodev.h> | 24 | #include <linux/videodev.h> |
25 | #include <media/v4l2-common.h> | ||
25 | #include <linux/config.h> /* CONFIG_RADIO_TRUST_PORT */ | 26 | #include <linux/config.h> /* CONFIG_RADIO_TRUST_PORT */ |
26 | 27 | ||
27 | /* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */ | 28 | /* acceptable ports: 0x350 (JP3 shorted), 0x358 (JP3 open) */ |
diff --git a/drivers/media/radio/radio-typhoon.c b/drivers/media/radio/radio-typhoon.c index e42409906682..cf4fc08bd8a7 100644 --- a/drivers/media/radio/radio-typhoon.c +++ b/drivers/media/radio/radio-typhoon.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <asm/io.h> /* outb, outb_p */ | 36 | #include <asm/io.h> /* outb, outb_p */ |
37 | #include <asm/uaccess.h> /* copy to/from user */ | 37 | #include <asm/uaccess.h> /* copy to/from user */ |
38 | #include <linux/videodev.h> /* kernel radio structs */ | 38 | #include <linux/videodev.h> /* kernel radio structs */ |
39 | #include <media/v4l2-common.h> | ||
39 | #include <linux/config.h> /* CONFIG_RADIO_TYPHOON_* */ | 40 | #include <linux/config.h> /* CONFIG_RADIO_TYPHOON_* */ |
40 | 41 | ||
41 | #define BANNER "Typhoon Radio Card driver v0.1\n" | 42 | #define BANNER "Typhoon Radio Card driver v0.1\n" |
diff --git a/drivers/media/radio/radio-zoltrix.c b/drivers/media/radio/radio-zoltrix.c index 8aceea083980..59b86a6b4b0e 100644 --- a/drivers/media/radio/radio-zoltrix.c +++ b/drivers/media/radio/radio-zoltrix.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/io.h> /* outb, outb_p */ | 33 | #include <asm/io.h> /* outb, outb_p */ |
34 | #include <asm/uaccess.h> /* copy to/from user */ | 34 | #include <asm/uaccess.h> /* copy to/from user */ |
35 | #include <linux/videodev.h> /* kernel radio structs */ | 35 | #include <linux/videodev.h> /* kernel radio structs */ |
36 | #include <media/v4l2-common.h> | ||
36 | #include <linux/config.h> /* CONFIG_RADIO_ZOLTRIX_PORT */ | 37 | #include <linux/config.h> /* CONFIG_RADIO_ZOLTRIX_PORT */ |
37 | 38 | ||
38 | #ifndef CONFIG_RADIO_ZOLTRIX_PORT | 39 | #ifndef CONFIG_RADIO_ZOLTRIX_PORT |