summaryrefslogtreecommitdiff
path: root/drivers/leds/blink
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-03-16 14:39:46 +0100
committerPavel Machek <pavel@ucw.cz>2021-04-25 22:56:42 +0200
commit1cfa807b06afd54488512bacef7cb5023437f178 (patch)
tree30bd8f52099323e369f7156a01563d40cda62488 /drivers/leds/blink
parentec50536b7840dde085185d9570fa19d0baf5042c (diff)
leds: LEDS_BLINK_LGM should depend on X86
The Intel Lightning Mountain (LGM) Serial Shift Output controller (SSO) is only present on Intel Lightning Mountain SoCs. Hence add a dependency on X86, to prevent asking the user about this driver when configuring a kernel without Intel Lightning Mountain platform support. While at it, merge the other dependencies into a single statement. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/blink')
-rw-r--r--drivers/leds/blink/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/leds/blink/Kconfig b/drivers/leds/blink/Kconfig
index 964c5037d9a5..59ba81e40e85 100644
--- a/drivers/leds/blink/Kconfig
+++ b/drivers/leds/blink/Kconfig
@@ -1,9 +1,7 @@
config LEDS_LGM
tristate "LED support for LGM SoC series"
- depends on GPIOLIB
- depends on LEDS_CLASS
- depends on MFD_SYSCON
- depends on OF
+ depends on X86 || COMPILE_TEST
+ depends on GPIOLIB && LEDS_CLASS && MFD_SYSCON && OF
help
This option enables support for LEDs connected to GPIO lines on
Lightning Mountain (LGM) SoC. Lightning Mountain is a AnyWAN