提交 c455f5c8 编写于 作者: M Mauro Carvalho Chehab

[media] Kconfig: Split the core support options from the driver ones

Better arrange the remote controller driver items to happen after the
core support, on their proper menus, and making clerarer what is media
core options and what is media driver options.
Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 cd5534be
...@@ -59,7 +59,7 @@ config MEDIA_RADIO_SUPPORT ...@@ -59,7 +59,7 @@ config MEDIA_RADIO_SUPPORT
support radio reception. Disabling this option will support radio reception. Disabling this option will
disable support for them. disable support for them.
menuconfig MEDIA_RC_SUPPORT config MEDIA_RC_SUPPORT
bool "Remote Controller support" bool "Remote Controller support"
depends on INPUT depends on INPUT
---help--- ---help---
...@@ -138,6 +138,7 @@ config DVB_NET ...@@ -138,6 +138,7 @@ config DVB_NET
You may want to disable the network support on embedded devices. If You may want to disable the network support on embedded devices. If
unsure say Y. unsure say Y.
comment "Media drivers"
source "drivers/media/common/Kconfig" source "drivers/media/common/Kconfig"
source "drivers/media/rc/Kconfig" source "drivers/media/rc/Kconfig"
......
...@@ -4,6 +4,14 @@ config RC_CORE ...@@ -4,6 +4,14 @@ config RC_CORE
depends on INPUT depends on INPUT
default y default y
source "drivers/media/rc/keymaps/Kconfig"
menuconfig RC_DECODERS
bool "Remote controller decoders"
depends on RC_CORE
default y
if RC_DECODERS
config LIRC config LIRC
tristate "LIRC interface driver" tristate "LIRC interface driver"
depends on RC_CORE depends on RC_CORE
...@@ -15,8 +23,6 @@ config LIRC ...@@ -15,8 +23,6 @@ config LIRC
LIRC daemon handles protocol decoding for IR reception and LIRC daemon handles protocol decoding for IR reception and
encoding for IR transmitting (aka "blasting"). encoding for IR transmitting (aka "blasting").
source "drivers/media/rc/keymaps/Kconfig"
config IR_NEC_DECODER config IR_NEC_DECODER
tristate "Enable IR raw decoder for the NEC protocol" tristate "Enable IR raw decoder for the NEC protocol"
depends on RC_CORE depends on RC_CORE
...@@ -99,6 +105,7 @@ config IR_MCE_KBD_DECODER ...@@ -99,6 +105,7 @@ config IR_MCE_KBD_DECODER
Enable this option if you have a Microsoft Remote Keyboard for Enable this option if you have a Microsoft Remote Keyboard for
Windows Media Center Edition, which you would like to use with Windows Media Center Edition, which you would like to use with
a raw IR receiver in your system. a raw IR receiver in your system.
endif #RC_DECODERS
menuconfig RC_DEVICES menuconfig RC_DEVICES
bool "Remote Controller devices" bool "Remote Controller devices"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册