Hi Andrew, On Wed, 30 Oct 2013 16:23:34 -0700 Andrew Morton <a...@linux-foundation.org> wrote: > > It needs this as well. > > From: Andrew Morton <a...@linux-foundation.org> > Subject: input-route-kbd-leds-through-the-generic-leds-layer-fix-fix > > use IS_ENABLED to pick up CONFIG_INPUT_LEDS=m > > Cc: Dmitry Torokhov <dmitry.torok...@gmail.com> > Cc: John Crispin <blo...@openwrt.org> > Cc: Ralf Baechle <r...@linux-mips.org> > Cc: Samuel Thibault <samuel.thiba...@ens-lyon.org> > Signed-off-by: Andrew Morton <a...@linux-foundation.org> > --- > > include/linux/input.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -puN > include/linux/input.h~input-route-kbd-leds-through-the-generic-leds-layer-fix-fix > include/linux/input.h > --- > a/include/linux/input.h~input-route-kbd-leds-through-the-generic-leds-layer-fix-fix > +++ a/include/linux/input.h > @@ -533,7 +533,7 @@ int input_ff_erase(struct input_dev *dev > int input_ff_create_memless(struct input_dev *dev, void *data, > int (*play_effect)(struct input_dev *, void *, struct ff_effect > *)); > > -#ifdef CONFIG_INPUT_LEDS > +#if IS_ENABLED(CONFIG_INPUT_LEDS) > > int input_led_connect(struct input_dev *dev); > void input_led_disconnect(struct input_dev *dev);
Added. -- Cheers, Stephen Rothwell s...@canb.auug.org.au
pgpG2F4Kslawz.pgp
Description: PGP signature