Skip to content

Commit ae16a68

Browse files
idlethreaddlezcano
authored andcommitted
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 <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/f8ff0ab4a8e9c2eca5a26fb2256365b26cb326ce.1571656015.git.amit.kucheria@linaro.org
1 parent f96c8e5 commit ae16a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thermal/thermal_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,4 +1537,4 @@ static int __init thermal_init(void)
15371537
mutex_destroy(&poweroff_lock);
15381538
return result;
15391539
}
1540-
fs_initcall(thermal_init);
1540+
core_initcall(thermal_init);

0 commit comments

Comments
 (0)