Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf54c951 authored by Junjie Wu's avatar Junjie Wu
Browse files

clock-a7/krait: Change initcall level for early probe



Requirement to probe CPU clock drivers and register msm-cpufreq early
mandates initcall level changes in these drivers. Order among generic
clock driver, CPU clock driver and msm-cpufreq is unchanged, but
CPU clock drivers and msm-cpufreq are moved to earlier level to meet
new requirement.

Change-Id: I91c615795e2b114059d34f41b2f562a3e394e341
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 747b71a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -601,4 +601,4 @@ static int __init msm_cpufreq_register(void)
	return cpufreq_register_driver(&msm_cpufreq_driver);
}

device_initcall(msm_cpufreq_register);
subsys_initcall(msm_cpufreq_register);
+1 −1
Original line number Diff line number Diff line
@@ -290,4 +290,4 @@ static int __init clock_a7_init(void)
{
	return platform_driver_probe(&clock_a7_driver, clock_a7_probe);
}
subsys_initcall(clock_a7_init);
arch_initcall(clock_a7_init);
+1 −1
Original line number Diff line number Diff line
@@ -891,7 +891,7 @@ static int __init clock_krait_8974_init(void)
{
	return platform_driver_register(&clock_krait_8974_driver);
}
subsys_initcall(clock_krait_8974_init);
arch_initcall(clock_krait_8974_init);

static void __exit clock_krait_8974_exit(void)
{