Re: usbhid_set_leds problems

From: Adrian Bunk
Date: Wed Oct 15 2008 - 01:06:20 EST


On Wed, Oct 15, 2008 at 07:13:46AM +0300, Adrian Bunk wrote:
> With CONFIG_USB_HID=n I'm getting the following build error:
>
> <-- snip -->
>
> ...
> LD .tmp_vmlinux1
> drivers/built-in.o: In function `bright_probe':
> drivers/hid/hid-bright.c:38: undefined reference to `usbhid_set_leds'
> drivers/hid/hid-bright.c:38: undefined reference to `usbhid_set_leds'
> drivers/built-in.o: In function `dell_probe':
> drivers/hid/hid-dell.c:41: undefined reference to `usbhid_set_leds'
> drivers/hid/hid-dell.c:41: undefined reference to `usbhid_set_leds'
> drivers/built-in.o: In function `lg_probe':
> drivers/hid/hid-lg.c:252: undefined reference to `usbhid_set_leds'
> drivers/hid/hid-lg.c:252: more undefined references to `usbhid_set_leds' follow
> ...
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> <-- snip -->
>
>
> And I'm not sure commit 6edfa8dc33803a49ad936ead9840e453bee6ca3b
> (HID: move reset leds quirk) was a good idea at all since I don't
> see cases like HID_DELL=y, CONFIG_USB_HID=m could now work at all.

Scrap that mail, I shouldn't send patches before the first cup of tea...

I just found the actual problem.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/