aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Ospite <[email protected]>2009-08-06 16:08:52 -0700
committerSamuel Ortiz <[email protected]>2009-09-17 09:47:11 +0200
commite397e7ed50e3fb573aa5de183ae308dc7bf20b9e (patch)
tree8e1ac224eb718c10c9dd0da00bf232b0bcd26431
parentd4d6b722e780f005f0d4e43a43909fa51cc33a11 (diff)
regulator: register pcap earlier
Register pcap-regulator earlier so it can be used with cpufreq Signed-off-by: Daniel Ribeiro <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
-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 fdb90940ef0f..137b455ecb44 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 <[email protected]>");