Re: 5ada28bf76752 causes compilation error if !CONFIG_LEDS_CLASS

From: Ingo Molnar
Date: Tue Nov 23 2010 - 04:59:41 EST



* Berg, Johannes <johannes.berg@xxxxxxxxx> wrote:

> > It fails to build on x86 64-bit allmodconfig:
> >
> > drivers/leds/led-triggers.c:39:20: error: âTRIG_NAME_MAXâ undeclared
> > (first use in this function)
>
> Grr. I give up on the modular thing ...
>
> There are a whole bunch of ifdefs on TRIGGERS, which need to be
> || modular, but the easier thing is to remove the bool->tristate
> changes from my patch.

Please post a patch that does so.

Thanks,

Ingo
--
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/