| From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| From: Amit Kucheria <amit.kucheria@linaro.org> |
| Date: Mon, 21 Oct 2019 17:45:13 +0530 |
| Subject: UPSTREAM: cpufreq: Initialize cpufreq-dt driver earlier |
| |
| This allows HW drivers that depend on cpufreq-dt to initialize earlier. |
| |
| 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/353c745d4ca1feff600bd44154c01c013f185ca4.1571656015.git.amit.kucheria@linaro.org |
| (cherry picked from commit 57db08f41b2a8f6c22036290400a59a2b3ff3390) |
| Signed-off-by: John Stultz <john.stultz@linaro.org> |
| Bug: 146449535 |
| Change-Id: I129f901aa517f4b6ce6619ef24c291c71d7610e7 |
| --- |
| drivers/cpufreq/cpufreq-dt-platdev.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c |
| index bca8d1f47fd2..3282defe14d4 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); |