On Wed, Jan 28, 2015 at 9:05 PM, Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxx> Sorry for screwing up... Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html