[PATCH v2 16/20] media: Kconfig: better organize menu items

From: Mauro Carvalho Chehab
Date: Tue Mar 24 2020 - 09:44:21 EST


Place all API specific bits together

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
drivers/media/Kconfig | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 86cf4f12a70d..7d4088cfe3ef 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -126,10 +126,6 @@ endmenu # media device types

comment "Media core options"

-source "drivers/media/cec/Kconfig"
-
-source "drivers/media/mc/Kconfig"
-
#
# Video4Linux support
# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
@@ -149,8 +145,6 @@ config MEDIA_CONTROLLER

This API is mostly used by camera interfaces in embedded platforms.

-source "drivers/media/v4l2-core/Kconfig"
-
#
# DVB Core
# Only enables if one of DTV is selected
@@ -166,7 +160,10 @@ config DVB_CORE

help

+source "drivers/media/v4l2-core/Kconfig"
+source "drivers/media/mc/Kconfig"
source "drivers/media/dvb-core/Kconfig"
+source "drivers/media/cec/Kconfig"

comment "Media drivers"

--
2.24.1