media: pci: move VIDEO_PCI_SKELETON to a different Kconfig
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Mar 2020 09:05:18 +0000 (10:05 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 08:29:04 +0000 (10:29 +0200)
The V4L2 PCI skeleton is not part of the V4L2 core. Move it
to appear together with the other PCI drivers, at the end,
as this is something that normal users don't even need to
bother.

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

index dcb3719f440eab354c3356e1322408aa2a734a39..9336f8446cf04b883efc0cff5c6b4d618c080607 100644 (file)
@@ -56,5 +56,15 @@ endif
 
 source "drivers/media/pci/intel/ipu3/Kconfig"
 
+config VIDEO_PCI_SKELETON
+       tristate "Skeleton PCI V4L2 driver"
+       depends on PCI
+       depends on SAMPLES
+       depends on VIDEO_V4L2 && VIDEOBUF2_CORE
+       depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
+       help
+         Enable build of the skeleton PCI driver, used as a reference
+         when developing new drivers.
+
 endif #MEDIA_PCI_SUPPORT
 endif #PCI
index 39e3fb30ba0be7bc5dd75c5e8adf783d2c58927c..26276b257eaeeb51feb957c1e34973535c0024bd 100644 (file)
@@ -31,16 +31,6 @@ config VIDEO_FIXED_MINOR_RANGES
 
          When in doubt, say N.
 
-config VIDEO_PCI_SKELETON
-       tristate "Skeleton PCI V4L2 driver"
-       depends on PCI
-       depends on SAMPLES
-       depends on VIDEO_V4L2 && VIDEOBUF2_CORE
-       depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
-       help
-         Enable build of the skeleton PCI driver, used as a reference
-         when developing new drivers.
-
 # Used by drivers that need tuner.ko
 config VIDEO_TUNER
        tristate