--- a/drivers/cpufreq/cpufreq-dt.c
+++ b/drivers/cpufreq/cpufreq-dt.c
-@@ -231,7 +231,10 @@ static int cpufreq_init(struct cpufreq_p
+@@ -239,7 +239,10 @@ static int cpufreq_init(struct cpufreq_p
}
if (fallback) {
/*
* OPP tables are initialized only for policy->cpu, do it for
-@@ -376,6 +379,8 @@ static int dt_cpufreq_probe(struct platf
- if (data && data->have_governor_per_policy)
- dt_cpufreq_driver.flags |= CPUFREQ_HAVE_GOVERNOR_PER_POLICY;
+@@ -359,6 +362,8 @@ static int dt_cpufreq_probe(struct platf
+ dt_cpufreq_driver.suspend = data->suspend;
+ }
+ dt_cpufreq_driver.driver_data = data;
+
dev_err(&pdev->dev, "failed register driver: %d\n", ret);
--- a/drivers/cpufreq/cpufreq-dt.h
+++ b/drivers/cpufreq/cpufreq-dt.h
-@@ -13,6 +13,12 @@
- #include <linux/types.h>
+@@ -15,6 +15,12 @@
+ struct cpufreq_policy;
struct cpufreq_dt_platform_data {
+ /*
+ */
+ bool independent_clocks;
bool have_governor_per_policy;
- };
+ int (*suspend)(struct cpufreq_policy *policy);