[PATCH v2 04/20] media: reorganize the drivers menu options

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


The comments before some of the drivers support look
weird, because their Kconfig have their own "comment"
directive inside it. So, rearrange them to make it
look a little nicer for the ones with are not too
familiar with the media system.

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

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 4af21fa73fcf..586d8931d9fc 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -87,6 +87,8 @@ config MEDIA_CEC_SUPPORT
Say Y when you have an HDMI receiver, transmitter or a USB CEC
adapter that supports HDMI CEC.

+comment "Media core options"
+
source "drivers/media/cec/Kconfig"

source "drivers/media/mc/Kconfig"
@@ -166,17 +168,17 @@ comment "Media drivers"

source "drivers/media/usb/Kconfig"
source "drivers/media/pci/Kconfig"
+source "drivers/media/radio/Kconfig"
+
+# Common driver options
+source "drivers/media/common/Kconfig"
source "drivers/media/platform/Kconfig"
source "drivers/media/mmc/Kconfig"
-source "drivers/media/radio/Kconfig"

comment "Supported FireWire (IEEE 1394) Adapters"
depends on DVB_CORE && FIREWIRE
source "drivers/media/firewire/Kconfig"

-# Common driver options
-source "drivers/media/common/Kconfig"
-
comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"

#
--
2.24.1