]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
regulator: register pcap earlier
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 6 Aug 2009 23:08:52 +0000 (16:08 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:47:11 +0000 (09:47 +0200)
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>
drivers/regulator/pcap-regulator.c

index fdb90940ef0f4e71a80504399eac3b93898b2ada..137b455ecb442379307a98b09d7f811c596818fd 100644 (file)
@@ -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>");