summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-02-28 15:25:43 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-02-28 15:25:43 +0900
commit3c861b88d0c2a1099b75c7a28648514cc67c8be6 (patch)
treef364896b70b73862c5cf86c41fc9de337c1cf0e2
parent7cda34407714b17db73d59f8fa9e9b62ee594ebf (diff)
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>
-rw-r--r--arch/arm/mach-s3c2440/mach-gta02.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index e57c4d85129..66004212380 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/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();
}