From patchwork Wed Jun 29 13:33:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 928452 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5TDf4Ju010702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 29 Jun 2011 13:41:31 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qbv0V-0006lI-Lv; Wed, 29 Jun 2011 13:40:44 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qbv0V-0006rk-AM; Wed, 29 Jun 2011 13:40:43 +0000 Received: from mail-pz0-f49.google.com ([209.85.210.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qbv0G-0006qC-37 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2011 13:40:29 +0000 Received: by pzk28 with SMTP id 28so954306pzk.36 for ; Wed, 29 Jun 2011 06:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=CHnCedLgvXtQ4ehh/51iJV+qBCq0n+yAMgWjzmnBO44=; b=bkjephLB5+Yzp8mOzXA9aKO3PWPGHxiWU0dYEbjIDYEki0KJSu2006sMsVirRS0keQ c8S8vulNOLmKU7vezxM8NUHZqj8+4kcoQ/SJbT3a0X+FNT1q3GCOOp+KRUFiiPA6DkFj w20oY4xhJgZhVdSq1qMAEEDAvmnR67x4Q6+Ic= Received: by 10.142.204.9 with SMTP id b9mr425492wfg.3.1309354445253; Wed, 29 Jun 2011 06:34:05 -0700 (PDT) Received: from [218.172.225.218] (218-172-225-218.dynamic.hinet.net [218.172.225.218]) by mx.google.com with ESMTPS id i9sm929327pbk.52.2011.06.29.06.34.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 29 Jun 2011 06:34:04 -0700 (PDT) Subject: [PATCH] mach-ux500: fix build error due to unknown 'regulator_en' field From: Axel Lin To: linux-kernel@vger.kernel.org Date: Wed, 29 Jun 2011 21:33:57 +0800 Message-ID: <1309354437.10872.1.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110629_094028_551291_5CF71438 X-CRM114-Status: GOOD ( 15.17 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (axel.lin[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: Russell King , Linus Walleij , linux-arm-kernel@lists.infradead.org, Srinidhi Kasagar X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 29 Jun 2011 13:41:31 +0000 (UTC) Fix below build error: CC arch/arm/mach-ux500/board-mop500-u8500uib.o arch/arm/mach-ux500/board-mop500-u8500uib.c:35: error: unknown field 'regulator_en' specified in initializer arch/arm/mach-ux500/board-mop500-u8500uib.c:35: warning: excess elements in struct initializer arch/arm/mach-ux500/board-mop500-u8500uib.c:35: warning: (near initialization for 'rmi4_i2c_dev_platformdata') make[1]: *** [arch/arm/mach-ux500/board-mop500-u8500uib.o] Error 1 make: *** [arch/arm/mach-ux500] Error 2 Signed-off-by: Axel Lin --- arch/arm/mach-ux500/board-mop500-u8500uib.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-u8500uib.c b/arch/arm/mach-ux500/board-mop500-u8500uib.c index d8a8734..1af7228 100644 --- a/arch/arm/mach-ux500/board-mop500-u8500uib.c +++ b/arch/arm/mach-ux500/board-mop500-u8500uib.c @@ -32,7 +32,6 @@ static struct synaptics_rmi4_platform_data rmi4_i2c_dev_platformdata = { .irq_type = (IRQF_TRIGGER_FALLING | IRQF_SHARED), .x_flip = false, .y_flip = true, - .regulator_en = false, }; static struct i2c_board_info __initdata mop500_i2c3_devices_u8500[] = {