[PATCH] leds: ipaq needs LEDS_CLASS

Linus Walleij linus.walleij at linaro.org
Thu Jan 29 01:24:18 PST 2015


On Wed, Jan 28, 2015 at 9:05 PM, Arnd Bergmann <arnd at arndb.de> wrote:

> All other drivers have a dependency on this already, but this one
> does not, which can lead to a link error when LEDS_CLASS is not set.
>
> drivers/built-in.o: In function `micro_leds_remove':
> :(.text+0x13d1bc): undefined reference to `led_classdev_unregister'
> drivers/built-in.o: In function `micro_leds_probe':
> :(.text+0x13d3d0): undefined reference to `led_classdev_register'
>
> This patch adds the missing dependency.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Sorry for screwing up...
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list