summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/Kconfig
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/pci/Kconfig
parentmedia: ddbridge: use the ddbridge's own dummy fe driver (diff)
downloadlinux-97b19498dc0250826f6c9f4921b1e4c553cb086c.tar.xz
linux-97b19498dc0250826f6c9f4921b1e4c553cb086c.zip
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/pci/Kconfig')
-rw-r--r--drivers/media/pci/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/Kconfig b/drivers/media/pci/Kconfig
index 9336f8446cf0..e576283ebbf5 100644
--- a/drivers/media/pci/Kconfig
+++ b/drivers/media/pci/Kconfig
@@ -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