media: Kconfig: move media controller core select to main Kconfig
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Mar 2020 12:59:23 +0000 (13:59 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 08:29:06 +0000 (10:29 +0200)
Let's place the main API selections at the media/Kconfig file,
as this way we can better organize things.

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

index f14b583..9c1de28 100644 (file)
@@ -136,6 +136,15 @@ config VIDEO_DEV
        prompt "Video4Linux core" if !(MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI)
        default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT || MEDIA_TEST_SUPPORT || MEDIA_HYBRID_USB || MEDIA_HYBRID_PCI
 
+config MEDIA_CONTROLLER
+       bool "Media Controller API"
+       default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_PLATFORM_SUPPORT
+       help
+         Enable the media controller API used to query media devices internal
+         topology and configure it dynamically.
+
+         This API is mostly used by camera interfaces in embedded platforms.
+
 #
 # DVB Core
 #      Only enables if one of DTV is selected
index e740ace..002a918 100644 (file)
@@ -5,15 +5,6 @@
 #      Selectable only for webcam/grabbers, as other drivers don't use it
 #
 
-config MEDIA_CONTROLLER
-       bool "Media Controller API"
-       default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_PLATFORM_SUPPORT
-       help
-         Enable the media controller API used to query media devices internal
-         topology and configure it dynamically.
-
-         This API is mostly used by camera interfaces in embedded platforms.
-
 config MEDIA_CONTROLLER_DVB
        bool "Enable Media controller for DVB (EXPERIMENTAL)"
        depends on MEDIA_CONTROLLER && DVB_CORE