mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
thermal: Initialize thermal subsystem earlier
Now that the thermal framework is built-in, in order to facilitate thermal mitigation as early as possible in the boot cycle, move the thermal framework initialization to core_initcall. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/f8ff0ab4a8e9c2eca5a26fb2256365b26cb326ce.1571656015.git.amit.kucheria@linaro.org
This commit is contained in:
parent
f96c8e5015
commit
ae16a688f6
1 changed files with 1 additions and 1 deletions
|
@ -1537,4 +1537,4 @@ static int __init thermal_init(void)
|
||||||
mutex_destroy(&poweroff_lock);
|
mutex_destroy(&poweroff_lock);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
fs_initcall(thermal_init);
|
core_initcall(thermal_init);
|
||||||
|
|
Loading…
Reference in a new issue