Hi Andreas,

On 9/18/07, Andreas Herrmann <[EMAIL PROTECTED]> wrote:
> With LEDS_CLASS=m && JOYSTICK_XPAD_LEDS=y I get following compile error:
>
>    ...
>  LD      .tmp_vmlinux1
> drivers/built-in.o: In function `xpad_disconnect':
> xpad.c:(.text+0xb3d6b): undefined reference to `led_classdev_unregister'
> drivers/built-in.o: In function `xpad_probe':
> xpad.c:(.text+0xb48a6): undefined reference to `led_classdev_register'
> make: *** [.tmp_vmlinux1] Error 1
>    ...
>
> To avoid this kernel configuration, do auto-select LEDS_CLASS
> for JOYSTCK_XPAD_LEDS.
>

I'd rather it depend on LEDS_CLASS (but properly). I believe I posted
a patch yesterday.

-- 
Dmitry

Reply via email to