diff mbox series

[v4,4/6] cpufreq: Initialize cpufreq-dt driver earlier

Message ID 66d8ae593ce7936a5f492d0c6855c1ac225b64ee.1571387352.git.amit.kucheria@linaro.org
State New
Headers show
Series Initialise thermal framework and cpufreq earlier during boot | expand

Commit Message

Amit Kucheria Oct. 18, 2019, 8:52 a.m. UTC
This allows HW drivers that depend on cpufreq-dt to initialise earlier.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Ingo Molnar Oct. 21, 2019, 8:08 a.m. UTC | #1
* Amit Kucheria <amit.kucheria@linaro.org> wrote:

> This allows HW drivers that depend on cpufreq-dt to initialise earlier.


My obsessive-compulsive in-brain spellchecker noticed that the title says 
'initialize' (US spelling), while the comment uses 'initialise' (UK 
spelling). Just in case this is not some post-Brexit expression of 
cross-Atlantic friendliness you might want to fix it. :)

Thanks,

	Ingo
diff mbox series

Patch

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index bca8d1f47fd2c..3282defe14d41 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -180,4 +180,4 @@  static int __init cpufreq_dt_platdev_init(void)
 			       -1, data,
 			       sizeof(struct cpufreq_dt_platform_data)));
 }
-device_initcall(cpufreq_dt_platdev_init);
+core_initcall(cpufreq_dt_platdev_init);