projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96c8e5
)
thermal: Initialize thermal subsystem earlier
author
Amit Kucheria
<amit.kucheria@linaro.org>
Mon, 21 Oct 2019 12:15:11 +0000
(17:45 +0530)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Thu, 7 Nov 2019 06:00:26 +0000
(07:00 +0100)
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
drivers/thermal/thermal_core.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/thermal_core.c
b/drivers/thermal/thermal_core.c
index
cced063
..
69fcd54
100644
(file)
--- a/
drivers/thermal/thermal_core.c
+++ b/
drivers/thermal/thermal_core.c
@@
-1537,4
+1537,4
@@
error:
mutex_destroy(&poweroff_lock);
return result;
}
-
fs
_initcall(thermal_init);
+
core
_initcall(thermal_init);