[PATCH 04/15] ARM: ux500: CONFIG: Compile in support for leds-gpio

Linus Walleij linus.walleij at linaro.org
Wed May 9 04:49:52 EDT 2012


On Fri, May 4, 2012 at 8:23 PM, Lee Jones <lee.jones at linaro.org> wrote:

> Code exists in the mop500 board file (used for HREF and
> Snowball) to initialise Snowball's user LED via the
> leds-gpio driver. However, the driver isn't currently
> built when using the default configuration file. This
> patch aims to change that behavior.
>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
(...)
> +CONFIG_LEDS_GPIO=y
>  CONFIG_RTC_CLASS=y
>  CONFIG_RTC_DRV_AB8500=y
>  CONFIG_RTC_DRV_PL031=y

Why not just edit arch/arm/mach-ux500/Kconfig like this:

config MACH_SNOWBALL
        bool "U8500 Snowball platform"
        select MACH_MOP500
+        select LEDS_GPIO

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list