Re: [PATCH] Fix build without CONFIG_INPUT_LEDS [Was: mmotm2013-10-29-16-22 uploaded (input)]

From: Stephen Rothwell
Date: Wed Oct 30 2013 - 19:20:27 EST


Hi all,

On Wed, 30 Oct 2013 12:46:24 +0100 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> wrote:
>
> Randy Dunlap, le Tue 29 Oct 2013 18:57:36 -0700, a Ãcrit :
> > arc_ps2.c:(.text+0x500): multiple definition of `input_led_connect'
>
> D'oh. I indeed hadn't tested the inlines, sorry about this.
>
> Andrew, could you add the following patch on top of
> input-route-kbd-leds-through-the-generic-leds-layer.patch
> or perhaps rather fold into it?
>
> Samuel
>
>
>
> Really mark inlines as static inlines, so they are not defined multiple
> times.
>
> Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

I have added that as a fix patch for the akpm-current tree for today.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature