From: Antonio Ospite Date: Thu, 6 Aug 2009 23:08:52 +0000 (-0700) Subject: regulator: register pcap earlier X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e397e7ed50e3fb573aa5de183ae308dc7bf20b9e;p=deliverable%2Flinux.git regulator: register pcap earlier Register pcap-regulator earlier so it can be used with cpufreq Signed-off-by: Daniel Ribeiro Acked-by: Mark Brown Signed-off-by: Andrew Morton Signed-off-by: Samuel Ortiz --- 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 ");