Thread (4 messages) 4 messages, 2 authors, 2019-07-31

Re: [PATCH] Input: applespi - Fix build error

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2019-07-29 14:05:08
Also in: lkml

On Mon, Jul 29, 2019 at 11:14:55AM +0800, YueHaibing wrote:
If CONFIG_KEYBOARD_APPLESPI=y but CONFIG_LEDS_CLASS=m
building fails:

drivers/input/keyboard/applespi.o: In function `applespi_probe':
applespi.c:(.text+0x1fcd): undefined reference to `devm_led_classdev_register_ext'

Wrap it in LEDS_CLASS macro to fix this.
No, we should add "depends on LEDS_CLASS" to the Konfig instead.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help