Skip to content

Commit 1cfa807

Browse files
geertupavelmachek
authored andcommitted
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 <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
1 parent ec50536 commit 1cfa807

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/leds/blink/Kconfig

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
config LEDS_LGM
22
tristate "LED support for LGM SoC series"
3-
depends on GPIOLIB
4-
depends on LEDS_CLASS
5-
depends on MFD_SYSCON
6-
depends on OF
3+
depends on X86 || COMPILE_TEST
4+
depends on GPIOLIB && LEDS_CLASS && MFD_SYSCON && OF
75
help
86
This option enables support for LEDs connected to GPIO lines on
97
Lightning Mountain (LGM) SoC. Lightning Mountain is a AnyWAN

0 commit comments

Comments
 (0)