[PATCH 1/6] arcnet: leds: Removed leds dependecy

From: Andrea Greco
Date: Mon Jun 11 2018 - 10:26:13 EST


From: Andrea Greco <a.greco@xxxxxxxxx>

Only PCI driver depends from leds class.

Signed-off-by: Andrea Greco <a.greco@xxxxxxxxx>
---
drivers/net/arcnet/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/arcnet/Kconfig b/drivers/net/arcnet/Kconfig
index 39bd16f3f86d..afc5898e7a16 100644
--- a/drivers/net/arcnet/Kconfig
+++ b/drivers/net/arcnet/Kconfig
@@ -103,7 +103,6 @@ config ARCNET_RIM_I

config ARCNET_COM20020
tristate "ARCnet COM20020 chipset driver"
- depends on LEDS_CLASS
help
This is the driver for the new COM20020 chipset. It supports such
things as promiscuous mode, so packet sniffing is possible, and
@@ -118,6 +117,7 @@ config ARCNET_COM20020_ISA

config ARCNET_COM20020_PCI
tristate "Support for COM20020 on PCI"
+ depends on LEDS_CLASS
depends on ARCNET_COM20020 && PCI

config ARCNET_COM20020_CS
--
2.14.4