[PATCH 03/10] fix-regulator-errors-in-mach-gta02.patch

Andy Green andy at openmoko.com
Mon Dec 1 02:25:22 CET 2008


Signed-off-by: Andy Green <andy at openmoko.com>
---

 arch/arm/mach-s3c2440/mach-gta02.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index 193a75d..fec9cb4 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -604,7 +604,7 @@ static struct regulator_consumer_supply ldo4_consumers[] = {
 
 static struct regulator_consumer_supply ldo5_consumers[] = {
 	{
-		.dev = &gta01_pm_bt_dev.dev,
+		.dev = &gta01_pm_gps_dev.dev,
 		.supply = "RF_3V",
 	},
 };
@@ -681,7 +681,7 @@ struct pcf50633_platform_data gta02_pcf_pdata = {
 				.min_uV = 2000000,
 				.max_uV = 3300000,
 				.valid_modes_mask = REGULATOR_MODE_NORMAL,
-				.valid_modes_mask = REGULATOR_CHANGE_VOLTAGE,
+				.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
 			},
 			.num_consumer_supplies = 1,
 			.consumer_supplies = hcldo_consumers,




More information about the openmoko-kernel mailing list