lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120217082609.GP3852@pengutronix.de>
Date:	Fri, 17 Feb 2012 09:26:09 +0100
From:	Sascha Hauer <s.hauer@...gutronix.de>
To:	Axel Lin <axel.lin@...il.com>
Cc:	linux-kernel@...r.kernel.org,
	Uwe Kleine-König 
	<u.kleine-koenig@...gutronix.de>,
	Sascha Hauer <kernel@...gutronix.de>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	Liam Girdwood <lrg@...com>,
	Russell King <linux@....linux.org.uk>,
	linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/2] ARM: imx/pcm038: Don't specify regulator consumers
 by struct device

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@...il.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 |
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ