diff mbox

[5/8] board-rx51-peripherals: split vaux3 and vmmc2 supplies

Message ID 1255003137-1034-6-git-send-email-eduardo.valentin@nokia.com (mailing list archive)
State Changes Requested, archived
Delegated to: Tony Lindgren
Headers show

Commit Message

Eduardo Valentin Oct. 8, 2009, 11:58 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index b227475..92f7dfa 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -125,6 +125,10 @@  static struct regulator_consumer_supply rx51_vmmc1_supply = {
 	.supply			= "vmmc",
 };
 
+static struct regulator_consumer_supply rx51_vaux3_supply = {
+	.supply			= "vmmc",
+};
+
 static struct regulator_consumer_supply rx51_vmmc2_supply = {
 	.supply			= "vmmc",
 };
@@ -184,7 +188,7 @@  static struct regulator_init_data rx51_vaux3_mmc = {
 					| REGULATOR_CHANGE_STATUS,
 	},
 	.num_consumer_supplies	= 1,
-	.consumer_supplies	= &rx51_vmmc2_supply,
+	.consumer_supplies	= &rx51_vaux3_supply,
 };
 
 static struct regulator_init_data rx51_vaux4 = {
@@ -266,7 +270,7 @@  static int rx51_twlgpio_setup(struct device *dev, unsigned gpio, unsigned n)
 	/* set up MMC adapters, linking their regulators to them */
 	twl4030_mmc_init(mmc);
 	rx51_vmmc1_supply.dev = mmc[0].dev;
-	rx51_vmmc2_supply.dev = mmc[1].dev;
+	rx51_vaux3_supply.dev = mmc[1].dev;
 	rx51_vsim_supply.dev = mmc[1].dev;
 
 	return 0;