linux/drivers/net/arcnet
Arnd Bergmann 754107e341 arcnet/com20020: add LEDS_CLASS dependency
The newly added led trigger support in the com20020-pci driver causes
build errors when CONFIG_LEDS_CLASS is disabled:

drivers/built-in.o: In function `com20020pci_probe':
(.text+0x185dc4): undefined reference to `devm_led_classdev_register'
(.text+0x185dd8): undefined reference to `devm_led_classdev_register'

This adds a Kconfig dependency to prevent the invalid configurations.
Other drivers appear to be split 50:50 between 'select' and 'depends on'
for this symbol, I picked 'depends on' as I could not find a common
policy and it generally causes fewer problems.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 8890624a4e ("arcnet: com20020-pci: add led trigger support")
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-03 11:29:56 -05:00
..
arc-rawmode.c arcnet: arc-rawmode: reorder module functions 2015-09-23 11:23:44 +02:00
arc-rimi.c arcnet: Add com9026.h to standardize COM9026_REG_<foo> 2015-09-23 08:44:27 +02:00
arcdevice.h arcnet: add netif_carrier_on/off for reconnect 2015-10-26 09:10:56 +01:00
arcnet.c arcnet: add netif_carrier_on/off for reconnect 2015-10-26 09:10:56 +01:00
capmode.c arcnet: capmode: remove extra function 2015-09-23 11:23:45 +02:00
com90io.c arcnet: Add com9026.h to standardize COM9026_REG_<foo> 2015-09-23 08:44:27 +02:00
com90xx.c arcnet: Add com9026.h to standardize COM9026_REG_<foo> 2015-09-23 08:44:27 +02:00
com9026.h arcnet: Add com9026.h to standardize COM9026_REG_<foo> 2015-09-23 08:44:27 +02:00
com20020_cs.c arcnet: com20020: Use arcnet_<I/O> routines 2015-09-23 08:44:26 +02:00
com20020-isa.c arcnet: com20020: Use arcnet_<I/O> routines 2015-09-23 08:44:26 +02:00
com20020-pci.c arcnet: com20020-pci: add led trigger support 2015-10-26 09:10:56 +01:00
com20020.c arcnet: com20020: add enable and disable device on open/close 2015-10-26 09:10:56 +01:00
com20020.h arcnet: com20020-pci: add led trigger support 2015-10-26 09:10:56 +01:00
Kconfig arcnet/com20020: add LEDS_CLASS dependency 2015-11-03 11:29:56 -05:00
Makefile com20020_cs: Move the PCMCIA Arcnet driver 2011-08-27 00:58:44 -07:00
rfc1051.c arcnet: Move files out of include/linux 2015-09-23 08:44:25 +02:00
rfc1201.c arcnet: Move files out of include/linux 2015-09-23 08:44:25 +02:00