From: Sascha Hauer <s.hauer@pengutronix.de>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel@vger.kernel.org,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Sascha Hauer" <kernel@pengutronix.de>,
"Mark Brown" <broonie@opensource.wolfsonmicro.com>,
"Liam Girdwood" <lrg@ti.com>,
"Russell King" <linux@arm.linux.org.uk>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] ARM: imx/pcm038: Don't specify regulator consumers by struct device
Date: Fri, 17 Feb 2012 09:26:09 +0100 [thread overview]
Message-ID: <20120217082609.GP3852@pengutronix.de> (raw)
In-Reply-To: <1329449121.17110.2.camel@phoenix>
On Fri, Feb 17, 2012 at 11:25:21AM +0800, Axel Lin wrote:
> 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
This is a duplicate of one of Fabios patches, I just sent a pull
request.
Sascha
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> 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",
> },
> };
> --
> 1.7.5.4
>
>
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2012-02-17 8:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 3:23 [PATCH 1/2] ARM: U300: Don't specify regulator consumers by struct device Axel Lin
2012-02-17 3:25 ` [PATCH 2/2] ARM: imx/pcm038: " Axel Lin
2012-02-17 8:26 ` Sascha Hauer [this message]
2012-02-17 21:38 ` [PATCH 1/2] ARM: U300: " Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120217082609.GP3852@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=axel.lin@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=lrg@ti.com \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).