diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-09-18 15:34:10 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-05-07 22:55:49 +0200 |
commit | 5c6603e741921c75f67a724e798642ed50a6328e (patch) | |
tree | 8b40f34662aa0620eb1bedda58d9a8fa19c00584 /drivers/cpufreq/pxa2xx-cpufreq.c | |
parent | e0a3596eb811bb86c9b5b2fe46493aa7782692ba (diff) | |
download | linux-stable-5c6603e741921c75f67a724e798642ed50a6328e.tar.gz linux-stable-5c6603e741921c75f67a724e798642ed50a6328e.tar.bz2 linux-stable-5c6603e741921c75f67a724e798642ed50a6328e.zip |
cpufreq: pxa3: move clk register access to clk driver
The driver needs some low-level register access for setting
the core and bus frequencies. These registers are owned
by the clk driver, so move the low-level access into that
driver with a slightly higher-level interface and avoid
any machine header file dependencies.
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-clk@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/cpufreq/pxa2xx-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/pxa2xx-cpufreq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cpufreq/pxa2xx-cpufreq.c b/drivers/cpufreq/pxa2xx-cpufreq.c index e74d36d6f78d..ed1ae061a687 100644 --- a/drivers/cpufreq/pxa2xx-cpufreq.c +++ b/drivers/cpufreq/pxa2xx-cpufreq.c @@ -27,9 +27,6 @@ #include <linux/soc/pxa/cpu.h> #include <linux/io.h> -#include <mach/pxa2xx-regs.h> -#include <mach/smemc.h> - #ifdef DEBUG static unsigned int freq_debug; module_param(freq_debug, uint, 0); |