This driver depends on I2C. There are linking problems otherwise, if for example CONFIG_LEDS_TURRIS_OMNIA=y and CONFIG_I2C=m. Also add MACH_ARMADA_38X dependency, since it is unlikely that some other device will ever have a microcontroller with software compatible to that of Turris Omnia microcontroller. Signed-off-by: Marek Behún <marek.behun@xxxxxx> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> --- drivers/leds/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index d5b31a71a112..6b555d31c1be 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -131,6 +131,8 @@ config LEDS_CR0014114 config LEDS_TURRIS_OMNIA tristate "LED support for CZ.NIC's Turris Omnia" depends on LEDS_CLASS + depends on I2C + depends on MACH_ARMADA_38X depends on OF help This option enables basic support for the LEDs found on the front -- 2.21.0