summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDanny Nold <dannynold@freescale.com>2011-05-16 10:59:18 -0500
committerDanny Nold <dannynold@freescale.com>2011-05-16 10:59:18 -0500
commit4c6c1ffcda99f294245fdf220cc5f01a5cf5d7f6 (patch)
tree82f03e3e312719d1ecae4659617b275bcf60d574 /arch
parent2b76b4a675a1caa71386609b35e06cff0d1b9336 (diff)
ENGR00143486 - MSL: MAX17135 init_data incorrectly declared __initdata
- Removed __initdata from regulator_init_data structure declaration. This protects the MAX17135 regulator from having its structure overwritten, which was causing a bug when writing large chunks of memory. Signed-off-by: Danny Nold <dannynold@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx5/mx50_rdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/mx50_rdp.c b/arch/arm/mach-mx5/mx50_rdp.c
index 05f7fcfa6f2e..b4662a5d8f2f 100644
--- a/arch/arm/mach-mx5/mx50_rdp.c
+++ b/arch/arm/mach-mx5/mx50_rdp.c
@@ -666,7 +666,7 @@ static struct mxc_spi_master mxcspi3_data = {
#define V_to_uV(V) (mV_to_uV(V * 1000))
#define uV_to_V(uV) (uV_to_mV(uV) / 1000)
-static struct regulator_init_data max17135_init_data[] __initdata = {
+static struct regulator_init_data max17135_init_data[] = {
{
.constraints = {
.name = "DISPLAY",