Commit dcc5abf0 authored by Fabio Estevam's avatar Fabio Estevam Committed by Sascha Hauer

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent d65b4e98
...@@ -233,7 +233,7 @@ static struct regulator_init_data sdhc1_data = { ...@@ -233,7 +233,7 @@ static struct regulator_init_data sdhc1_data = {
static struct regulator_consumer_supply cam_consumers[] = { static struct regulator_consumer_supply cam_consumers[] = {
{ {
.dev = NULL, .dev_name = NULL,
.supply = "imx_cam_vcc", .supply = "imx_cam_vcc",
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment