diff options
author | Andy Green <andy@openmoko.com> | 2009-01-27 20:40:35 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-01-27 20:40:35 +0000 |
commit | fd4f31cef7294750acf96fdee6d6681a553b48b1 (patch) | |
tree | 445066d975df49e510353e1dda0781649398d8a8 /arch/arm/mach-s3c2440 | |
parent | 91d4d2230ac087bc9db12faaf760d4bbdacbb82a (diff) |
fix-gps-init-before-gta02-pcf.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r-- | 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 b8811169743..26f1f2d039c 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -1662,6 +1662,8 @@ static void gta02_pmu_regulator_registered(struct pcf50633 *pcf, int id) { struct platform_device *regulator, *pdev; + gta02_pcf = pcf; + regulator = pcf->regulator_pdev[id]; switch(id) { @@ -1693,8 +1695,6 @@ static void gta02_pmu_attach_child_devices(struct pcf50633 *pcf) { int n; - gta02_pcf = pcf; - for (n = 0; n < ARRAY_SIZE(gta02_devices_pmu_children); n++) gta02_devices_pmu_children[n]->dev.parent = pcf->dev; |