aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c6410/mach-om-gta03.c
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-26 15:22:52 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-26 15:22:52 +0000
commit524f4a1dfe71a8b353a244140164e09828abb68c (patch)
tree06ac52aeb7a73d92f896a9eca262251f6036a24b /arch/arm/mach-s3c6410/mach-om-gta03.c
parentb06c3045f1f8ab65d645f57f79ea9589cde2d09c (diff)
clean-gta03-features.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c6410/mach-om-gta03.c')
-rw-r--r--arch/arm/mach-s3c6410/mach-om-gta03.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c6410/mach-om-gta03.c b/arch/arm/mach-s3c6410/mach-om-gta03.c
index 0bc05f1e336..a1c39a3b0d4 100644
--- a/arch/arm/mach-s3c6410/mach-om-gta03.c
+++ b/arch/arm/mach-s3c6410/mach-om-gta03.c
@@ -558,6 +558,9 @@ static void om_gta03_pmu_regulator_registered(struct pcf50633 *pcf, int id)
case PCF50633_REGULATOR_LDO4:
pdev = &s3c_device_hsmmc0;
break;
+ case PCF50633_REGULATOR_LDO5: /* GPS regulator */
+ pdev = &om_gta03_features_dev;
+ break;
case PCF50633_REGULATOR_LDO6:
pdev = &om_gta03_lcd_powerdev;
break;
@@ -572,7 +575,6 @@ static void om_gta03_pmu_regulator_registered(struct pcf50633 *pcf, int id)
static struct platform_device *om_gta03_devices_pmu_children[] = {
&om_gta03_button_dev,
&s3c_device_spi_acc1, /* relies on PMU reg for power */
- &om_gta03_features_dev,
};
/* this is called when pc50633 is probed, unfortunately quite late in the