Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932384Ab3CGDkN (ORCPT ); Wed, 6 Mar 2013 22:40:13 -0500 Received: from mail-ia0-f169.google.com ([209.85.210.169]:43361 "EHLO mail-ia0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754489Ab3CGDkM (ORCPT ); Wed, 6 Mar 2013 22:40:12 -0500 MIME-Version: 1.0 In-Reply-To: <1362376059.414.1.camel@phoenix> References: <1362376059.414.1.camel@phoenix> Date: Thu, 7 Mar 2013 04:40:11 +0100 Message-ID: Subject: Re: [PATCH RFT] pinctrl: single: Fix build error From: Linus Walleij To: Axel Lin Cc: Haojian Zhuang , Tony Lindgren , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 25 On Mon, Mar 4, 2013 at 6:47 AM, Axel Lin 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/