summaryrefslogtreecommitdiffstats
path: root/drivers/misc/phantom.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-03 14:51:29 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-03 17:29:56 +0100
commit754107e34165373b3696620cef344227b10eaa99 (patch)
treef87018afa39b493fedca26eb7d39ef4d77e87e68 /drivers/misc/phantom.c
parentbpf, verifier: annotate verbose printer with __printf (diff)
downloadlinux-754107e34165373b3696620cef344227b10eaa99.tar.xz
linux-754107e34165373b3696620cef344227b10eaa99.zip
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: 8890624a4e8c ("arcnet: com20020-pci: add led trigger support") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/phantom.c')
0 files changed, 0 insertions, 0 deletions