Browse Source

ARM: S3C2440: Call regulator_has_full_constraints on GTA02

This allows the regulator core to disable all regulators
which are not in use at the end of the kernel init phase.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Lars-Peter Clausen 14 years ago
parent
commit
3c861b88d0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/mach-s3c2440/mach-gta02.c

+ 2 - 0
arch/arm/mach-s3c2440/mach-gta02.c

@@ -605,6 +605,8 @@ static void __init gta02_machine_init(void)
 
 	platform_add_devices(gta02_devices, ARRAY_SIZE(gta02_devices));
 	pm_power_off = gta02_poweroff;
+
+	regulator_has_full_constraints();
 }