mirror of https://gitee.com/openkylin/linux.git
media: rc: don't mark IR decoders default y
I usually update my config with make oldconfig and pressing return, trusting that whoever updates Kconfig sets sensible defaults. But my recent kernels ended up with all kinds of IR decoders built in that are not used by anything because they are all marked with default y. default y should only be set for something that prevents booting on common systems, never for some random weirdo driver feature like this. Remove all the "default y" in drivers/media/rc/Kconfig Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
cee1e3e2ef
commit
22756ae731
|
@ -28,14 +28,12 @@ config LIRC
|
|||
menuconfig RC_DECODERS
|
||||
bool "Remote controller decoders"
|
||||
depends on RC_CORE
|
||||
default y
|
||||
|
||||
if RC_DECODERS
|
||||
config IR_NEC_DECODER
|
||||
tristate "Enable IR raw decoder for the NEC protocol"
|
||||
depends on RC_CORE
|
||||
select BITREVERSE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have IR with NEC protocol, and
|
||||
|
@ -45,7 +43,6 @@ config IR_RC5_DECODER
|
|||
tristate "Enable IR raw decoder for the RC-5 protocol"
|
||||
depends on RC_CORE
|
||||
select BITREVERSE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have IR with RC-5 protocol, and
|
||||
|
@ -55,7 +52,6 @@ config IR_RC6_DECODER
|
|||
tristate "Enable IR raw decoder for the RC6 protocol"
|
||||
depends on RC_CORE
|
||||
select BITREVERSE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have an infrared remote control which
|
||||
|
@ -65,7 +61,6 @@ config IR_JVC_DECODER
|
|||
tristate "Enable IR raw decoder for the JVC protocol"
|
||||
depends on RC_CORE
|
||||
select BITREVERSE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have an infrared remote control which
|
||||
|
@ -75,7 +70,6 @@ config IR_SONY_DECODER
|
|||
tristate "Enable IR raw decoder for the Sony protocol"
|
||||
depends on RC_CORE
|
||||
select BITREVERSE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have an infrared remote control which
|
||||
|
@ -84,7 +78,6 @@ config IR_SONY_DECODER
|
|||
config IR_SANYO_DECODER
|
||||
tristate "Enable IR raw decoder for the Sanyo protocol"
|
||||
depends on RC_CORE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have an infrared remote control which
|
||||
|
@ -94,7 +87,6 @@ config IR_SANYO_DECODER
|
|||
config IR_SHARP_DECODER
|
||||
tristate "Enable IR raw decoder for the Sharp protocol"
|
||||
depends on RC_CORE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have an infrared remote control which
|
||||
|
@ -105,7 +97,6 @@ config IR_MCE_KBD_DECODER
|
|||
tristate "Enable IR raw decoder for the MCE keyboard/mouse protocol"
|
||||
depends on RC_CORE
|
||||
select BITREVERSE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have a Microsoft Remote Keyboard for
|
||||
|
@ -116,7 +107,6 @@ config IR_XMP_DECODER
|
|||
tristate "Enable IR raw decoder for the XMP protocol"
|
||||
depends on RC_CORE
|
||||
select BITREVERSE
|
||||
default y
|
||||
|
||||
---help---
|
||||
Enable this option if you have IR with XMP protocol, and
|
||||
|
@ -446,7 +436,6 @@ config IR_SERIAL
|
|||
|
||||
config IR_SERIAL_TRANSMITTER
|
||||
bool "Serial Port Transmitter"
|
||||
default y
|
||||
depends on IR_SERIAL
|
||||
---help---
|
||||
Serial Port Transmitter support
|
||||
|
|
Loading…
Reference in New Issue