[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZ4KyCxOOTfJtyUiRCwBUC44iJiqWanoTs9FYgbwnhHVw@mail.gmail.com>
Date: Thu, 7 Mar 2013 04:40:11 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Haojian Zhuang <haojian.zhuang@...aro.org>,
Tony Lindgren <tony@...mide.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFT] pinctrl: single: Fix build error
On Mon, Mar 4, 2013 at 6:47 AM, Axel Lin <axel.lin@...ics.com> wrote:
> If pcs->is_pinconf is false, it means does not support pinconf.
> If pcs->is_pinconf is true, is_generic flag is always true.
>
> This patch fixes below build error:
>
> CC [M] drivers/pinctrl/pinctrl-single.o
> drivers/pinctrl/pinctrl-single.c: In function 'pcs_probe':
> drivers/pinctrl/pinctrl-single.c:1441:3: error: assignment of member 'is_generic' in read-only object
> make[2]: *** [drivers/pinctrl/pinctrl-single.o] Error 1
> make[1]: *** [drivers/pinctrl] Error 2
> make: *** [drivers] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
Patch applied with Haojian's ACK, thanks!
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