From: Robin Gong Date: Wed, 28 Dec 2011 03:41:58 +0000 (+0800) Subject: ENGR00171001-1 PFUZE100 MX6Q: fix build warning X-Git-Tag: v3.0.35-fsl~1695 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e3576c1f3ec1b0b3752964dac6a44ff21a7fc7a8;p=karo-tx-linux.git ENGR00171001-1 PFUZE100 MX6Q: fix build warning fix the board level function Signed-off-by: Robin Gong --- diff --git a/arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c b/arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c index 42a6bc62f79f..ba9fb2d77c0a 100644 --- a/arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c +++ b/arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c @@ -363,7 +363,7 @@ static struct regulator_init_data vgen6_init = { .consumer_supplies = vgen6_consumers, }; -static struct pfuze_regulator_init_data mx6q_arm2_pfuze100_regulators[] = { +static struct pfuze_regulator_init_data mx6q_sabreauto_pfuze100_regulators[] = { {.id = PFUZE100_SW1A, .init_data = &sw1a_init}, {.id = PFUZE100_SW1B, .init_data = &sw1b_init}, {.id = PFUZE100_SW1C, .init_data = &sw1c_init}, @@ -384,8 +384,8 @@ static struct pfuze_regulator_init_data mx6q_arm2_pfuze100_regulators[] = { static struct pfuze_platform_data pfuze100_plat = { .flags = PFUZE_USE_REGULATOR, - .num_regulators = ARRAY_SIZE(mx6q_arm2_pfuze100_regulators), - .regulators = mx6q_arm2_pfuze100_regulators, + .num_regulators = ARRAY_SIZE(mx6q_sabreauto_pfuze100_regulators), + .regulators = mx6q_sabreauto_pfuze100_regulators, }; static struct i2c_board_info __initdata pfuze100_i2c_device = {