From patchwork Fri Feb 17 03:25:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 141726 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (unknown [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 99B621007D4 for ; Fri, 17 Feb 2012 14:27:35 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RyERx-0001lz-G8; Fri, 17 Feb 2012 03:25:33 +0000 Received: from mail-pw0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RyERt-0001kp-Aw for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2012 03:25:30 +0000 Received: by pbcun1 with SMTP id un1so3795683pbc.36 for ; Thu, 16 Feb 2012 19:25:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:x-mailer:content-transfer-encoding:mime-version; bh=SOtxFXADC7U2Um4IjAnvDp50rp764lbj0VxypJE8Xm4=; b=T6LZGPC1YZmPgA7ThOXVmm9wxCCemwr9MqQkG4WmQal+bYyJ+EgAY9/hdYu0yvNqXT gHxG6/DiHfG4OHu1ihStOHzNR+iMAsnp5DByALfru3xfmuPFLYgpJSC8SmEXvJCWu5y4 36mRMoMtqysKhY50MHVvZEsSo2LUorUVJ0P10= Received: by 10.68.129.105 with SMTP id nv9mr19982867pbb.30.1329449127866; Thu, 16 Feb 2012 19:25:27 -0800 (PST) Received: from [218.172.235.22] (218-172-235-22.dynamic.hinet.net. [218.172.235.22]) by mx.google.com with ESMTPS id q1sm3957526pbv.49.2012.02.16.19.25.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Feb 2012 19:25:26 -0800 (PST) Message-ID: <1329449121.17110.2.camel@phoenix> Subject: [PATCH 2/2] ARM: imx/pcm038: Don't specify regulator consumers by struct device From: Axel Lin To: linux-kernel@vger.kernel.org Date: Fri, 17 Feb 2012 11:25:21 +0800 In-Reply-To: <1329449029.17110.1.camel@phoenix> References: <1329449029.17110.1.camel@phoenix> X-Mailer: Evolution 3.2.1- Mime-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (axel.lin[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -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 Cc: Russell King , Mark Brown , Sascha Hauer , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , Liam Girdwood , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org The dev field is remove from struct regulator_consumer_supply since commit 737f36 "regulator: Remove support for supplies specified by struct device". This fixes below build error: CC arch/arm/mach-imx/mach-pcm038.o arch/arm/mach-imx/mach-pcm038.c:236: error: unknown field 'dev' specified in initializer make[1]: *** [arch/arm/mach-imx/mach-pcm038.o] Error 1 make: *** [arch/arm/mach-imx] Error 2 Signed-off-by: Axel Lin --- This patch is against linux-next 20120217. arch/arm/mach-imx/mach-pcm038.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c index 16f126d..bfcc1ea 100644 --- a/arch/arm/mach-imx/mach-pcm038.c +++ b/arch/arm/mach-imx/mach-pcm038.c @@ -233,7 +233,6 @@ static struct regulator_init_data sdhc1_data = { static struct regulator_consumer_supply cam_consumers[] = { { - .dev = NULL, .supply = "imx_cam_vcc", }, };