aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-17 21:25:53 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:28:49 -0400
commitd4216488c0ccf7b659411023903bac7207f0dfb7 (patch)
tree88d23d677f02a65ccfe446ed028222eb80d426cc
parentc3fb62bf927cee771c3bcd5053e393e7df518f28 (diff)
V4L/DVB (8392): media/Kconfig: Convert V4L1_COMPAT select into "depends on"
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 7a7803b5d497..93ea201f426c 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -38,7 +38,6 @@ config VIDEO_ALLOW_V4L1
38 bool "Enable Video For Linux API 1 (DEPRECATED)" 38 bool "Enable Video For Linux API 1 (DEPRECATED)"
39 depends on VIDEO_DEV && VIDEO_V4L2_COMMON 39 depends on VIDEO_DEV && VIDEO_V4L2_COMMON
40 default VIDEO_DEV && VIDEO_V4L2_COMMON 40 default VIDEO_DEV && VIDEO_V4L2_COMMON
41 select VIDEO_V4L1_COMPAT
42 ---help--- 41 ---help---
43 Enables drivers based on the legacy V4L1 API. 42 Enables drivers based on the legacy V4L1 API.
44 43
@@ -49,9 +48,9 @@ config VIDEO_ALLOW_V4L1
49 If you are unsure as to whether this is required, answer Y. 48 If you are unsure as to whether this is required, answer Y.
50 49
51config VIDEO_V4L1_COMPAT 50config VIDEO_V4L1_COMPAT
52 bool "Enable Video For Linux API 1 compatible Layer" 51 bool "Enable Video For Linux API 1 compatible Layer" if !VIDEO_ALLOW_V4L1
53 depends on VIDEO_DEV 52 depends on VIDEO_DEV
54 default VIDEO_DEV 53 default y
55 ---help--- 54 ---help---
56 Enables a compatibility API used by most V4L2 devices to allow 55 Enables a compatibility API used by most V4L2 devices to allow
57 its usage with legacy applications that supports only V4L1 api. 56 its usage with legacy applications that supports only V4L1 api.