aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2011-04-19 15:01:17 +0800
committerRichard Zhao <richard.zhao@freescale.com>2011-04-19 15:03:53 +0800
commit61893afedbe8b4da512c86b37ea0ff7889019e91 (patch)
tree41a88134f8f670ff580eac2ab220e0f3cb1d51eb
parent1d317c12c5bbb06608e29a6fc7874c6ec8b4b9a8 (diff)
downloadlinux-linaro-natty-61893afedbe8b4da512c86b37ea0ff7889019e91.tar.gz
arm: imx50: fix mc13892 build error.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
-rw-r--r--arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c b/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c
index 96cc65f70ba9..aaf7bfd8b2e9 100644
--- a/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c
+++ b/arch/arm/mach-mx5/mx50_rdp_pmic_mc13892.c
@@ -369,8 +369,10 @@ static struct mc13xxx_regulator_init_data mx50_rdp_regulators[] = {
static struct mc13xxx_platform_data mx50_rdp_mc13892_data = {
.flags = MC13XXX_USE_RTC | MC13XXX_USE_REGULATOR,
- .num_regulators = ARRAY_SIZE(mx50_rdp_regulators),
- .regulators = mx50_rdp_regulators,
+ .regulators = {
+ .num_regulators = ARRAY_SIZE(mx50_rdp_regulators),
+ .regulators = mx50_rdp_regulators,
+ }
};