diff options
author | Duje Mihanović <[email protected]> | 2024-02-16 22:15:44 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-03-07 08:48:11 +0000 |
commit | 2cd0d1db31e78a63553876f8e6a4c9dcc1f9c061 (patch) | |
tree | 1998f163df7dfe871c18aef77a4a7d3865aad1c4 /tools/perf/util/trace-event-scripting.c | |
parent | 041d2a0ea733df814fd61ab78c7729a38541dfae (diff) |
leds: expresswire: Don't depend on NEW_LEDS
The ExpressWire library does not depend on NEW_LEDS and selecting it
from a subsystem other than LEDs may cause Kconfig warnings:
WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE
Depends on [n]: NEW_LEDS [=n] && GPIOLIB [=y]
Selected by [y]:
- BACKLIGHT_KTD2801 [=y] && HAS_IOMEM [=y] && BACKLIGHT_CLASS_DEVICE [=y]
Move it out of the "if NEW_LEDS" block to allow selection from other
subsystems (in particular backlight) without raising this warning.
Reported-by: Arnd Bergmann <[email protected]>
Closes: https://lore.kernel.org/[email protected]
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Suggested-by: Daniel Thompson <[email protected]>
Fixes: 25ae5f5f4168 ("leds: Introduce ExpressWire library")
Reviewed-by: Daniel Thompson <[email protected]>
Signed-off-by: Duje Mihanović <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions