media: Kconfig: move CEC-specific options to cec/Kconfig
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Mar 2020 12:41:57 +0000 (13:41 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 08:29:05 +0000 (10:29 +0200)
There's no need to have the CEC definitions inside the
media Kconfig, as the Kconfig parser doesn't require
symbols to be declared before their usages.

With that, the main Kconfig menu becomes cleaner.

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

index 79aa83a966db01cc3ba27a7d50f118332f9218da..9cc528e0b1207aaad56c866c2498a761c3768ee5 100644 (file)
@@ -3,15 +3,6 @@
 # Multimedia device configuration
 #
 
-config CEC_CORE
-       tristate
-
-config CEC_NOTIFIER
-       bool
-
-config CEC_PIN
-       bool
-
 source "drivers/media/rc/Kconfig"
 
 menuconfig MEDIA_SUPPORT
index c01919713ab956cbab98cddb91604a4b7f62aaa9..31417feaa213da7fa1d26f5699af3ddfa9bf1ba3 100644 (file)
@@ -1,4 +1,14 @@
 # SPDX-License-Identifier: GPL-2.0-only
+
+config CEC_CORE
+       tristate
+
+config CEC_NOTIFIER
+       bool
+
+config CEC_PIN
+       bool
+
 config MEDIA_CEC_RC
        bool "HDMI CEC RC integration"
        depends on CEC_CORE && RC_CORE