diff options
author | Arnd Bergmann <[email protected]> | 2024-08-07 09:55:53 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-08-16 17:04:42 +0100 |
commit | 17c40f3c94bc2279b879ea9ceb3eea973bcd1ac4 (patch) | |
tree | d55da97efabdc94334475fc8ee0660fa6d54e3e8 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 82c5ada1f9d05902a4ccb926c7ce34e2fe699283 (diff) |
leds: blinkm: Fix CONFIG_LEDS_CLASS_MULTICOLOR dependency
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.
Fixes: 56e8c56c9af0 ("leds: Add multicolor support to BlinkM LED driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Joseph Strauss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions