diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-27 05:38:48 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:17:11 -0500 |
commit | 58c66df3e38ffb1d59cc5162bb9e07c859288034 (patch) | |
tree | 006bd2d86fb5d1f4003da42be99863490fdac222 | |
parent | f74e3d0eea5fd766230a0ef0d1c24a7960d6f8c2 (diff) |
[media] Remove VIDEO_V4L1 Kconfig option
There's no sense on keeping VIDEO_V4L1 Kconfig option just because of
two deprecated drivers moved to staging scheduled to die on 2.6.39.
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/Kconfig | 14 | ||||
-rw-r--r-- | drivers/media/video/Kconfig | 5 | ||||
-rw-r--r-- | drivers/staging/se401/Kconfig | 2 | ||||
-rw-r--r-- | drivers/staging/usbvideo/Kconfig | 2 | ||||
-rw-r--r-- | include/linux/videodev.h | 4 |
5 files changed, 2 insertions, 25 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 9ea1a6d70f0a..147c92b9b4f6 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig | |||
@@ -40,20 +40,6 @@ config VIDEO_V4L2_COMMON | |||
40 | depends on (I2C || I2C=n) && VIDEO_DEV | 40 | depends on (I2C || I2C=n) && VIDEO_DEV |
41 | default (I2C || I2C=n) && VIDEO_DEV | 41 | default (I2C || I2C=n) && VIDEO_DEV |
42 | 42 | ||
43 | config VIDEO_ALLOW_V4L1 | ||
44 | bool "Enable Video For Linux API 1 (DEPRECATED)" | ||
45 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON | ||
46 | default VIDEO_DEV && VIDEO_V4L2_COMMON | ||
47 | ---help--- | ||
48 | Enables drivers based on the legacy V4L1 API. | ||
49 | |||
50 | This api were developed to be used at Kernel 2.2 and 2.4, but | ||
51 | lacks support for several video standards. There are several | ||
52 | drivers at kernel that still depends on it. | ||
53 | |||
54 | If you are unsure as to whether this is required, answer Y. | ||
55 | |||
56 | |||
57 | # | 43 | # |
58 | # DVB Core | 44 | # DVB Core |
59 | # | 45 | # |
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index b3bf04368bf2..78b8c5de1f6b 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -7,11 +7,6 @@ config VIDEO_V4L2 | |||
7 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON | 7 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON |
8 | default VIDEO_DEV && VIDEO_V4L2_COMMON | 8 | default VIDEO_DEV && VIDEO_V4L2_COMMON |
9 | 9 | ||
10 | config VIDEO_V4L1 | ||
11 | tristate | ||
12 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1 | ||
13 | default VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1 | ||
14 | |||
15 | config VIDEOBUF_GEN | 10 | config VIDEOBUF_GEN |
16 | tristate | 11 | tristate |
17 | 12 | ||
diff --git a/drivers/staging/se401/Kconfig b/drivers/staging/se401/Kconfig index 586fc0432a4b..ee7313e66c79 100644 --- a/drivers/staging/se401/Kconfig +++ b/drivers/staging/se401/Kconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | config USB_SE401 | 1 | config USB_SE401 |
2 | tristate "USB SE401 Camera support (DEPRECATED)" | 2 | tristate "USB SE401 Camera support (DEPRECATED)" |
3 | depends on VIDEO_V4L1 | 3 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON |
4 | ---help--- | 4 | ---help--- |
5 | Say Y here if you want to connect this type of camera to your | 5 | Say Y here if you want to connect this type of camera to your |
6 | computer's USB port. See <file:Documentation/video4linux/se401.txt> | 6 | computer's USB port. See <file:Documentation/video4linux/se401.txt> |
diff --git a/drivers/staging/usbvideo/Kconfig b/drivers/staging/usbvideo/Kconfig index aae863e8a902..d9fc867d09eb 100644 --- a/drivers/staging/usbvideo/Kconfig +++ b/drivers/staging/usbvideo/Kconfig | |||
@@ -3,7 +3,7 @@ config VIDEO_USBVIDEO | |||
3 | 3 | ||
4 | config USB_VICAM | 4 | config USB_VICAM |
5 | tristate "USB 3com HomeConnect (aka vicam) support (DEPRECATED)" | 5 | tristate "USB 3com HomeConnect (aka vicam) support (DEPRECATED)" |
6 | depends on VIDEO_V4L1 && EXPERIMENTAL | 6 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON |
7 | select VIDEO_USBVIDEO | 7 | select VIDEO_USBVIDEO |
8 | ---help--- | 8 | ---help--- |
9 | Say Y here if you have 3com homeconnect camera (vicam). | 9 | Say Y here if you have 3com homeconnect camera (vicam). |
diff --git a/include/linux/videodev.h b/include/linux/videodev.h index 8a7aead76a38..f11efbef1c05 100644 --- a/include/linux/videodev.h +++ b/include/linux/videodev.h | |||
@@ -16,8 +16,6 @@ | |||
16 | #include <linux/ioctl.h> | 16 | #include <linux/ioctl.h> |
17 | #include <linux/videodev2.h> | 17 | #include <linux/videodev2.h> |
18 | 18 | ||
19 | #if defined(CONFIG_VIDEO_V4L1) || defined(CONFIG_VIDEO_V4L1_MODULE) || !defined(__KERNEL__) | ||
20 | |||
21 | #define VID_TYPE_CAPTURE 1 /* Can capture */ | 19 | #define VID_TYPE_CAPTURE 1 /* Can capture */ |
22 | #define VID_TYPE_TUNER 2 /* Can tune */ | 20 | #define VID_TYPE_TUNER 2 /* Can tune */ |
23 | #define VID_TYPE_TELETEXT 4 /* Does teletext */ | 21 | #define VID_TYPE_TELETEXT 4 /* Does teletext */ |
@@ -311,8 +309,6 @@ struct video_code | |||
311 | #define VID_PLAY_RESET 13 | 309 | #define VID_PLAY_RESET 13 |
312 | #define VID_PLAY_END_MARK 14 | 310 | #define VID_PLAY_END_MARK 14 |
313 | 311 | ||
314 | #endif /* CONFIG_VIDEO_V4L1 */ | ||
315 | |||
316 | #endif /* __LINUX_VIDEODEV_H */ | 312 | #endif /* __LINUX_VIDEODEV_H */ |
317 | 313 | ||
318 | /* | 314 | /* |