mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
[media] Fix Kconfig errors due to two visible menus
Use the new visible Kconfig keyword to avoid producing error for two menus that are visible only if Tuner/frontend customise options are enabled. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
c38bd4ffc7
commit
9b4320b77b
@ -31,7 +31,7 @@ config MEDIA_TUNER
|
||||
select MEDIA_TUNER_TDA9887 if !MEDIA_TUNER_CUSTOMISE
|
||||
select MEDIA_TUNER_MC44S803 if !MEDIA_TUNER_CUSTOMISE
|
||||
|
||||
menuconfig MEDIA_TUNER_CUSTOMISE
|
||||
config MEDIA_TUNER_CUSTOMISE
|
||||
bool "Customize analog and hybrid tuner modules to build"
|
||||
depends on MEDIA_TUNER
|
||||
default y if EMBEDDED
|
||||
@ -44,7 +44,8 @@ menuconfig MEDIA_TUNER_CUSTOMISE
|
||||
|
||||
If unsure say N.
|
||||
|
||||
if MEDIA_TUNER_CUSTOMISE
|
||||
menu "Customize TV tuners"
|
||||
visible if MEDIA_TUNER_CUSTOMISE
|
||||
|
||||
config MEDIA_TUNER_SIMPLE
|
||||
tristate "Simple tuner support"
|
||||
@ -185,5 +186,4 @@ config MEDIA_TUNER_TDA18218
|
||||
default m if MEDIA_TUNER_CUSTOMISE
|
||||
help
|
||||
NXP TDA18218 silicon tuner driver.
|
||||
|
||||
endif # MEDIA_TUNER_CUSTOMISE
|
||||
endmenu
|
||||
|
@ -12,9 +12,8 @@ config DVB_FE_CUSTOMISE
|
||||
|
||||
If unsure say N.
|
||||
|
||||
if DVB_FE_CUSTOMISE
|
||||
|
||||
menu "Customise DVB Frontends"
|
||||
visible if DVB_FE_CUSTOMISE
|
||||
|
||||
comment "Multistandard (satellite) frontends"
|
||||
depends on DVB_CORE
|
||||
@ -619,5 +618,3 @@ config DVB_DUMMY_FE
|
||||
tristate "Dummy frontend driver"
|
||||
default n
|
||||
endmenu
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user