Re: [PATCH] leds: make LEDS_GPIO_REGISTER depend on NEW_LEDS

Axel Lin
2011-05-29T01:38:56Z

hi Uwe,
> Below is a patch that fixes the layout problem but keeps the
> functionality as before and intended.
>
> -----8<-----
> leds: move LEDS_GPIO_REGISTER out of menuconfig NEW_LEDS
>
> From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
>
> Commit 4440673a "leds: provide helper to register "leds-gpio" devices"
> broke the display of the NEW_LEDS menu as it didn't depend on NEW_LEDS
> and so made "LED drivers" and "LED Triggers" appear at the same level as
> "LED Support" instead of below it as it was before 4440673a.
>
> Moving LEDS_GPIO_REGISTER out of the menuconfig NEW_LEDS fixes this
> unintended side effect.
>
> Reported-by: Axel Lin <axel.lin@gmail.com>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
Your patch looks good.

Thanks,
Axel