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>
This commit is contained in:
parent
ce971d9570
commit
f199141125
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user