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>
This commit is contained in:
Mauro Carvalho Chehab 2020-03-26 09:45:31 +01:00
parent 9a33a27e7f
commit 97b19498dc
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -58,6 +58,7 @@ source "drivers/media/pci/intel/ipu3/Kconfig"
config VIDEO_PCI_SKELETON
tristate "Skeleton PCI V4L2 driver"
depends on MEDIA_TEST_SUPPORT
depends on PCI
depends on SAMPLES
depends on VIDEO_V4L2 && VIDEOBUF2_CORE