]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00171001-1 PFUZE100 MX6Q: fix build warning
authorRobin Gong <B38343@freescale.com>
Wed, 28 Dec 2011 03:41:58 +0000 (11:41 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:43 +0000 (08:33 +0200)
fix the board level function
Signed-off-by: Robin Gong <B38343@freescale.com>
arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c

index 42a6bc62f79ffbfabb2d8f47049808d91009af68..ba9fb2d77c0a7d3d951a5a2d96e16774fea721c7 100644 (file)
@@ -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 = {