diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-20 13:48:02 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-21 07:05:06 -0400 |
commit | fccea74ff8b5159935acc7b4b4857ee81ee44661 (patch) | |
tree | e5d67c5a7993c5d71478f4cb833f7631113f1333 /drivers/media/i2c/Kconfig | |
parent | fc2bbfb2c3d77c0b6da76224ef1575f0e90327e8 (diff) |
[media] Kconfig: merge all customise options into just one
Instead of having 3 options to allow customizing the media
sub-drivers (tuners, I2C drivers, frontends), merge all of
them into just one.
That simplifies the life for users, as they can just keep
this untouched.
Life for developers is also simpler, as there's now just
one Kconfig item to remember, for the ancillary sub-drivers
providing supports for chips that could change from one
board design to another.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/Kconfig')
-rw-r--r-- | drivers/media/i2c/Kconfig | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 527430ac06f3..d41dc0aa005e 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig | |||
@@ -16,21 +16,8 @@ config VIDEO_TVEEPROM | |||
16 | 16 | ||
17 | if VIDEO_V4L2 | 17 | if VIDEO_V4L2 |
18 | 18 | ||
19 | config VIDEO_HELPER_CHIPS_AUTO | ||
20 | bool "Autoselect pertinent encoders/decoders and other helper chips" | ||
21 | default y if !EXPERT | ||
22 | ---help--- | ||
23 | Most video cards may require additional modules to encode or | ||
24 | decode audio/video standards. This option will autoselect | ||
25 | all pertinent modules to each selected video module. | ||
26 | |||
27 | Unselect this only if you know exactly what you are doing, since | ||
28 | it may break support on some boards. | ||
29 | |||
30 | In doubt, say Y. | ||
31 | |||
32 | config VIDEO_IR_I2C | 19 | config VIDEO_IR_I2C |
33 | tristate "I2C module for IR" if !VIDEO_HELPER_CHIPS_AUTO | 20 | tristate "I2C module for IR" if !MEDIA_SUBDRV_AUTOSELECT |
34 | depends on I2C && RC_CORE | 21 | depends on I2C && RC_CORE |
35 | default y | 22 | default y |
36 | ---help--- | 23 | ---help--- |
@@ -47,7 +34,7 @@ config VIDEO_IR_I2C | |||
47 | # | 34 | # |
48 | 35 | ||
49 | menu "Encoders, decoders, sensors and other helper chips" | 36 | menu "Encoders, decoders, sensors and other helper chips" |
50 | visible if !VIDEO_HELPER_CHIPS_AUTO | 37 | visible if !MEDIA_SUBDRV_AUTOSELECT |
51 | 38 | ||
52 | comment "Audio decoders, processors and mixers" | 39 | comment "Audio decoders, processors and mixers" |
53 | 40 | ||
@@ -561,10 +548,14 @@ config VIDEO_M52790 | |||
561 | 548 | ||
562 | To compile this driver as a module, choose M here: the | 549 | To compile this driver as a module, choose M here: the |
563 | module will be called m52790. | 550 | module will be called m52790. |
551 | endmenu | ||
552 | |||
553 | menu "Sensors used on soc_camera driver" | ||
564 | 554 | ||
565 | if SOC_CAMERA | 555 | if SOC_CAMERA |
566 | source "drivers/media/i2c/soc_camera/Kconfig" | 556 | source "drivers/media/i2c/soc_camera/Kconfig" |
567 | endif | 557 | endif |
568 | 558 | ||
569 | endmenu | 559 | endmenu |
560 | |||
570 | endif | 561 | endif |