diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-02-14 21:48:33 -0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-27 10:12:40 +0100 |
commit | dcc5abf08a1b783020cb11f37e645177f76e5705 (patch) | |
tree | c200be07aa7272f3e05e4dc5e794b8e23a251e67 /arch/arm/mach-imx/mach-pcm038.c | |
parent | d65b4e98d7ea3038b767b70fe8be959b2913f16d (diff) | |
download | op-kernel-dev-dcc5abf08a1b783020cb11f37e645177f76e5705.zip op-kernel-dev-dcc5abf08a1b783020cb11f37e645177f76e5705.tar.gz |
ARM: mach-pcm038: Fix field name of regulator_consumer_supply struct
Building imx_v4_v5_defconfig generates the following error:
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
Fix it by providing the correct "dev_name" field name.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-pcm038.c')
-rw-r--r-- | arch/arm/mach-imx/mach-pcm038.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c index 16f126d..2f3debe 100644 --- a/arch/arm/mach-imx/mach-pcm038.c +++ b/arch/arm/mach-imx/mach-pcm038.c @@ -233,7 +233,7 @@ static struct regulator_init_data sdhc1_data = { static struct regulator_consumer_supply cam_consumers[] = { { - .dev = NULL, + .dev_name = NULL, .supply = "imx_cam_vcc", }, }; |