media: Kconfig: don't use visible for device type select
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 25 Mar 2020 15:33:35 +0000 (16:33 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 08:29:06 +0000 (10:29 +0200)
commitb6a7d1bcc55fd297ad4bf341237f08ca989adf93
tree2f169b7cd320a9ea6a9cad5fa615c9f2353af914
parentf48fd1514212b5c72b98db79efee4ed914acf662
media: Kconfig: don't use visible for device type select

While making the menu invisible seemed a good idea, there's
a drawback: when the menu is not visible, it is not parsing
the "default" dependency.

So, instead, let's just avoid the items at the menu to be
prompted, by using the "prompt ... if" construction.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/Kconfig