]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpufreq: davinci: move cpufreq driver to drivers/cpufreq
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Apr 2013 12:54:11 +0000 (12:54 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Apr 2013 11:02:31 +0000 (13:02 +0200)
This patch moves cpufreq driver of ARM based davinci platform to
drivers/cpufreq.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-davinci/Makefile
drivers/cpufreq/Makefile
drivers/cpufreq/davinci-cpufreq.c [moved from arch/arm/mach-davinci/cpufreq.c with 99% similarity]

index fb5c1aa98a63ed1d4c0ec1fb9ccff1be6172948e..dd1ffccc75e988bef291fec7e6fe9f2fd019420f 100644 (file)
@@ -37,7 +37,6 @@ obj-$(CONFIG_MACH_MITYOMAPL138)               += board-mityomapl138.o
 obj-$(CONFIG_MACH_OMAPL138_HAWKBOARD)  += board-omapl138-hawk.o
 
 # Power Management
-obj-$(CONFIG_CPU_FREQ)                 += cpufreq.o
 obj-$(CONFIG_CPU_IDLE)                 += cpuidle.o
 obj-$(CONFIG_SUSPEND)                  += pm.o sleep.o
 obj-$(CONFIG_HAVE_CLK)                 += pm_domain.o
index c34094b5d8eacaf74ff88508d397a5339a75627c..c0e8921f91fc6d728015446fb69fe3337a13a8c5 100644 (file)
@@ -49,6 +49,7 @@ obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ)  += arm_big_little.o
 # LITTLE drivers, so that it is probed last.
 obj-$(CONFIG_ARM_DT_BL_CPUFREQ)                += arm_big_little_dt.o
 
+obj-$(CONFIG_ARCH_DAVINCI_DA850)       += davinci-cpufreq.o
 obj-$(CONFIG_UX500_SOC_DB8500)         += dbx500-cpufreq.o
 obj-$(CONFIG_ARM_EXYNOS_CPUFREQ)       += exynos-cpufreq.o
 obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ)   += exynos4210-cpufreq.o
similarity index 99%
rename from arch/arm/mach-davinci/cpufreq.c
rename to drivers/cpufreq/davinci-cpufreq.c
index 7c2e943c5500eb92a64c0db2ee5b38bab6360c25..c33c76c360faa98c92e3232374609875e022c541 100644 (file)
@@ -30,8 +30,6 @@
 #include <mach/cpufreq.h>
 #include <mach/common.h>
 
-#include "clock.h"
-
 struct davinci_cpufreq {
        struct device *dev;
        struct clk *armclk;