lkml.org 
[lkml]   [2013]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix build without CONFIG_INPUT_LEDS [Was: mmotm 2013-10-29-16-22 uploaded (input)]
Hi Andrew,

On Wed, 30 Oct 2013 16:23:34 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
>
> It needs this as well.
>
> From: Andrew Morton <akpm@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.torokhov@gmail.com>
> Cc: John Crispin <blogic@openwrt.org>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
> Signed-off-by: Andrew Morton <akpm@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 sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-10-31 00:41    [W:0.038 / U:9.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site