aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2009-08-06 16:08:52 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2009-09-17 09:47:11 +0200
commite397e7ed50e3fb573aa5de183ae308dc7bf20b9e (patch)
tree8e1ac224eb718c10c9dd0da00bf232b0bcd26431 /drivers
parentd4d6b722e780f005f0d4e43a43909fa51cc33a11 (diff)
regulator: register pcap earlier
Register pcap-regulator earlier so it can be used with cpufreq Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/pcap-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c
index fdb90940ef0..137b455ecb4 100644
--- a/drivers/regulator/pcap-regulator.c
+++ b/drivers/regulator/pcap-regulator.c
@@ -310,7 +310,7 @@ static void __exit pcap_regulator_exit(void)
platform_driver_unregister(&pcap_regulator_driver);
}
-module_init(pcap_regulator_init);
+subsys_initcall(pcap_regulator_init);
module_exit(pcap_regulator_exit);
MODULE_AUTHOR("Daniel Ribeiro <drwyrm@gmail.com>");