mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d4d6b722e7
commit
e397e7ed50
|
@ -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>");
|
||||
|
|
Loading…
Reference in New Issue