[PATCH 03/17] mach-realview: retire custom LED code

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Jul 10 05:27:47 EDT 2011


On Wed, Jul 06, 2011 at 08:34:33PM +0800, Bryan Wu wrote:
> diff --git a/arch/arm/plat-versatile/Kconfig b/arch/arm/plat-versatile/Kconfig
> index 52353be..c600420 100644
> --- a/arch/arm/plat-versatile/Kconfig
> +++ b/arch/arm/plat-versatile/Kconfig
> @@ -7,8 +7,12 @@ config PLAT_VERSATILE_FPGA_IRQ
>  	bool
>  
>  config PLAT_VERSATILE_LEDS
> -	def_bool y if LEDS_CLASS
> +	def_bool y
>  	depends on ARCH_REALVIEW || ARCH_VERSATILE
> +	select NEW_LEDS
> +	select LEDS_CLASS
> +	select LEDS_TRIGGERS
> +	select LEDS_TRIGGER_CPU

Can you explain the choice to force LED support to be enabled with no
choice for these?



More information about the linux-arm-kernel mailing list