Re: (subset) [PATCH] leds: blinkm: fix CONFIG_LEDS_CLASS_MULTICOLOR dependency
From: Lee Jones
Date: Fri Aug 16 2024 - 12:05:23 EST
On Wed, 07 Aug 2024 09:55:53 +0200, Arnd Bergmann wrote:
> With CONFIG_LEDS_CLASS_MULTICOLOR=m, a builtin leds-blinkm driver causes
> a link failure:
>
> arm-linux-gnueabi-ld: drivers/leds/leds-blinkm.o: in function `blinkm_set_mc_brightness':
> leds-blinkm.c:(.text.blinkm_set_mc_brightness+0xc): undefined reference to `led_mc_calc_color_components'
>
> Add a more specific dependency that only allows multicoler mode to
> be enabled for blinkm if it can build and link.
>
> [...]
Applied, thanks!
[1/1] leds: blinkm: fix CONFIG_LEDS_CLASS_MULTICOLOR dependency
commit: 17c40f3c94bc2279b879ea9ceb3eea973bcd1ac4
--
Lee Jones [李琼斯]