From e3576c1f3ec1b0b3752964dac6a44ff21a7fc7a8 Mon Sep 17 00:00:00 2001 From: Robin Gong Date: Wed, 28 Dec 2011 11:41:58 +0800 Subject: [PATCH] ENGR00171001-1 PFUZE100 MX6Q: fix build warning fix the board level function Signed-off-by: Robin Gong --- arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = { -- 2.39.5