summaryrefslogtreecommitdiff
path: root/drivers/media/cec/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-03-24 15:41:57 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-14 11:29:05 +0300
commitf1991411257bdb68d96ef8c8c5b35f412b480375 (patch)
tree3948a498ebdb179ff84741e46e2cf3d6a3b60f18 /drivers/media/cec/Kconfig
parentce971d957015d5ea8c7369114e701bc66d866c25 (diff)
downloadlinux-f1991411257bdb68d96ef8c8c5b35f412b480375.tar.xz
media: Kconfig: move CEC-specific options to cec/Kconfig
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>
Diffstat (limited to 'drivers/media/cec/Kconfig')
-rw-r--r--drivers/media/cec/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/cec/Kconfig b/drivers/media/cec/Kconfig
index c01919713ab9..31417feaa213 100644
--- a/drivers/media/cec/Kconfig
+++ b/drivers/media/cec/Kconfig
@@ -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