diff options
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r-- | drivers/media/Kconfig | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 8f4a45346de7..11950698a2e7 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig | |||
@@ -25,11 +25,16 @@ config VIDEO_DEV | |||
25 | To compile this driver as a module, choose M here: the | 25 | To compile this driver as a module, choose M here: the |
26 | module will be called videodev. | 26 | module will be called videodev. |
27 | 27 | ||
28 | config VIDEO_V4L2_COMMON | ||
29 | tristate | ||
30 | depends on (I2C || I2C=n) && VIDEO_DEV | ||
31 | default (I2C || I2C=n) && VIDEO_DEV | ||
32 | |||
28 | config VIDEO_V4L1 | 33 | config VIDEO_V4L1 |
29 | bool "Enable Video For Linux API 1 (DEPRECATED)" | 34 | bool "Enable Video For Linux API 1 (DEPRECATED)" |
30 | depends on VIDEO_DEV | 35 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON |
36 | default VIDEO_DEV && VIDEO_V4L2_COMMON | ||
31 | select VIDEO_V4L1_COMPAT | 37 | select VIDEO_V4L1_COMPAT |
32 | default y | ||
33 | ---help--- | 38 | ---help--- |
34 | Enables a compatibility API used by most V4L2 devices to allow | 39 | Enables a compatibility API used by most V4L2 devices to allow |
35 | its usage with legacy applications that supports only V4L1 api. | 40 | its usage with legacy applications that supports only V4L1 api. |
@@ -39,7 +44,7 @@ config VIDEO_V4L1 | |||
39 | config VIDEO_V4L1_COMPAT | 44 | config VIDEO_V4L1_COMPAT |
40 | bool "Enable Video For Linux API 1 compatible Layer" | 45 | bool "Enable Video For Linux API 1 compatible Layer" |
41 | depends on VIDEO_DEV | 46 | depends on VIDEO_DEV |
42 | default y | 47 | default VIDEO_DEV |
43 | ---help--- | 48 | ---help--- |
44 | This api were developed to be used at Kernel 2.2 and 2.4, but | 49 | This api were developed to be used at Kernel 2.2 and 2.4, but |
45 | lacks support for several video standards. There are several | 50 | lacks support for several video standards. There are several |
@@ -55,8 +60,8 @@ config VIDEO_V4L1_COMPAT | |||
55 | 60 | ||
56 | config VIDEO_V4L2 | 61 | config VIDEO_V4L2 |
57 | bool | 62 | bool |
58 | depends on VIDEO_DEV | 63 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON |
59 | default y | 64 | default VIDEO_DEV && VIDEO_V4L2_COMMON |
60 | 65 | ||
61 | source "drivers/media/video/Kconfig" | 66 | source "drivers/media/video/Kconfig" |
62 | 67 | ||
@@ -93,7 +98,7 @@ if VIDEO_TUNER_CUSTOMIZE | |||
93 | 98 | ||
94 | config TUNER_XC2028 | 99 | config TUNER_XC2028 |
95 | tristate "XCeive xc2028/xc3028 tuners" | 100 | tristate "XCeive xc2028/xc3028 tuners" |
96 | depends on I2C | 101 | depends on I2C && FW_LOADER |
97 | default m if VIDEO_TUNER_CUSTOMIZE | 102 | default m if VIDEO_TUNER_CUSTOMIZE |
98 | help | 103 | help |
99 | Say Y here to include support for the xc2028/xc3028 tuners. | 104 | Say Y here to include support for the xc2028/xc3028 tuners. |
@@ -180,7 +185,6 @@ config VIDEO_TVEEPROM | |||
180 | 185 | ||
181 | config DAB | 186 | config DAB |
182 | boolean "DAB adapters" | 187 | boolean "DAB adapters" |
183 | default y | ||
184 | ---help--- | 188 | ---help--- |
185 | Allow selecting support for for Digital Audio Broadcasting (DAB) | 189 | Allow selecting support for for Digital Audio Broadcasting (DAB) |
186 | Receiver adapters. | 190 | Receiver adapters. |