[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbWm8DbN33FT2YONNYcq2M4KrK5VSf3Yo2p3YJXucoZ=Q@mail.gmail.com>
Date: Wed, 11 Apr 2012 09:31:35 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Dong Aisheng <b29396@...escale.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linus.walleij@...ricsson.com, swarren@...dotorg.org
Subject: Re: [PATCH 1/1] pinctrl: fix compile error if not select PINMUX support
On Thu, Apr 5, 2012 at 11:07 AM, Dong Aisheng <b29396@...escale.com> wrote:
> From: Dong Aisheng <dong.aisheng@...aro.org>
>
> The pinctrl_register_mappings is defined in core.c, so change the dependent
> macro from CONFIG_MUX to CONFIG_PINCTRL.
>
> The compile error message is:
> drivers/pinctrl/core.c:886: error: redefinition of 'pinctrl_register_mappings'
> include/linux/pinctrl/machine.h:160: note: previous definition of 'pinctrl_register_mappings' was here
> make[2]: *** [drivers/pinctrl/core.o] Error 1
> make[1]: *** [drivers/pinctrl] Error 2
> make: *** [drivers] Error 2
>
> Signed-off-by: Dong Aisheng <dong.aisheng@...aro.org>
Thanks, applied.
(Catching up with the patch queue...)
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists