Re: linux-next: build failure after merge of the hid tree

From: Hans de Goede
Date: Fri Oct 04 2019 - 02:56:05 EST


Hi Stephen, Jiri,

On 10/4/19 2:28 AM, Stephen Rothwell wrote:
Hi all,

After merging the hid tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ld: drivers/hid/hid-lg-g15.o: in function `.lg_g15_probe':
hid-lg-g15.c:(.text+0x1a1c): undefined reference to `.devm_led_classdev_register_ext'
ld: hid-lg-g15.c:(.text+0x1c68): undefined reference to `.devm_led_classdev_register_ext'

Caused by commit

3a0275384c27 ("HID: Add driver for Logitech gaming keyboards (G15, G15 v2)")

For this build, CONFIG_HID_LOGITECH=y and CONFIG_LEDS_CLASS=m.

My bad, thank you for reporting this. I will try to come up with a fix for this
today.

Regards,

Hans