summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/cpu_regulator-mx5.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx5/cpu_regulator-mx5.c')
-rw-r--r--arch/arm/mach-mx5/cpu_regulator-mx5.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/cpu_regulator-mx5.c b/arch/arm/mach-mx5/cpu_regulator-mx5.c
index b7d01e91ad39..ef3c481c8e93 100644
--- a/arch/arm/mach-mx5/cpu_regulator-mx5.c
+++ b/arch/arm/mach-mx5/cpu_regulator-mx5.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -18,6 +18,8 @@
#include <linux/regulator/consumer.h>
struct regulator *cpu_regulator;
+struct regulator *soc_regulator;
+struct regulator *pu_regulator;
char *gp_reg_id;
@@ -26,5 +28,6 @@ void mx5_cpu_regulator_init(void)
cpu_regulator = regulator_get(NULL, gp_reg_id);
if (IS_ERR(cpu_regulator))
printk(KERN_ERR "%s: failed to get cpu regulator\n", __func__);
+ soc_regulator = pu_regulator = -ENODEV;
}