diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-07-27 10:16:37 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2017-07-27 14:11:07 +0200 |
commit | 22eb8a911a802e32b5217c48b5b48a38353cf2b4 (patch) | |
tree | 4c15b9857174dc1c20819b67c77a798dadb50421 | |
parent | ac8dcd0d7b7d17ad8ac42b42cb1f51d4417f4950 (diff) |
Revert "cpufreq: imx7: fix undefined reference to arm_reg and soc_reg"
This reverts commit a6563bd605a42e5a54c19b1588457d687651d9c1.
The fix provided creates issues if the kernel is configured to
be built for both i.MX 6 and i.MX 7 devices.
Revert in favor of a more universal fix.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
-rw-r--r-- | drivers/cpufreq/imx7-cpufreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/imx7-cpufreq.c b/drivers/cpufreq/imx7-cpufreq.c index d2eea557414d..803a44db5a27 100644 --- a/drivers/cpufreq/imx7-cpufreq.c +++ b/drivers/cpufreq/imx7-cpufreq.c @@ -21,8 +21,7 @@ static struct clk *pll_arm; static struct clk *arm_src; static struct clk *pll_sys_main; -struct regulator *arm_reg; -struct regulator *soc_reg; +static struct regulator *arm_reg; static struct device *cpu_dev; static struct cpufreq_frequency_table *freq_table; |