[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131031102759.9feb5963975c5ce97193d6d5@canb.auug.org.au>
Date: Thu, 31 Oct 2013 10:27:59 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Samuel Thibault <samuel.thibault@...-lyon.org>,
Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org, linux-next@...r.kernel.org
Subject: Re: [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@...ux-foundation.org> wrote:
>
> It needs this as well.
>
> From: Andrew Morton <akpm@...ux-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@...il.com>
> Cc: John Crispin <blogic@...nwrt.org>
> Cc: Ralf Baechle <ralf@...ux-mips.org>
> Cc: Samuel Thibault <samuel.thibault@...-lyon.org>
> Signed-off-by: Andrew Morton <akpm@...ux-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@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists