summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-03-26 09:45:31 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-14 10:29:05 +0200
commit97b19498dc0250826f6c9f4921b1e4c553cb086c (patch)
tree53f23e24f1f6b14adb4656a17a2070b202921f19 /drivers/media/dvb-frontends
parent9a33a27e7fe5b1aebf045829f92fd11562ad0ac7 (diff)
media: Kconfig: mark other drivers as test drivers
Neither the PCI skeleton nor the DVB dummy driver are real drivers. They're there just as an example for a driver writter. Distros should not enable those drivers. So, hide them if MEDIA_TEST_SUPPORT is not selected. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/Kconfig b/drivers/media/dvb-frontends/Kconfig
index a29e9ddf9c82..932fd88fdc12 100644
--- a/drivers/media/dvb-frontends/Kconfig
+++ b/drivers/media/dvb-frontends/Kconfig
@@ -944,8 +944,12 @@ config DVB_SP2
CIMaX SP2/SP2HF Common Interface module.
comment "Tools to develop new frontends"
+ depends on MEDIA_TEST_SUPPORT
config DVB_DUMMY_FE
tristate "Dummy frontend driver"
depends on DVB_CORE
+ depends on MEDIA_TEST_SUPPORT
+ help
+ Dummy skeleton frontend driver.
endmenu