]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpufreq: unicore2: move cpufreq driver to drivers/cpufreq
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Apr 2013 12:54:23 +0000 (12:54 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Apr 2013 11:19:26 +0000 (13:19 +0200)
This patch moves cpufreq driver of UNICORE-2 architecture to drivers/cpufreq.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/unicore32/kernel/Makefile
drivers/cpufreq/Makefile
drivers/cpufreq/unicore2-cpufreq.c [moved from arch/unicore32/kernel/cpu-ucv2.c with 96% similarity]

index fa497e0efe5acc59f00ea5e64da5332f3628b58f..607a72f2ae351758bfa7013d0a8228f60e9e1359 100644 (file)
@@ -9,7 +9,6 @@ obj-y                           += setup.o signal.o sys.o stacktrace.o traps.o
 obj-$(CONFIG_MODULES)          += ksyms.o module.o
 obj-$(CONFIG_EARLY_PRINTK)     += early_printk.o
 
-obj-$(CONFIG_CPU_FREQ)         += cpu-ucv2.o
 obj-$(CONFIG_UNICORE_FPU_F64)  += fpu-ucf64.o
 
 # obj-y for architecture PKUnity v3
index 3930d2e6a664bcaaff767e06ccb2d75177134678..18479b27f75937d6327d106ddb1ba837f4f3f47c 100644 (file)
@@ -84,3 +84,4 @@ obj-$(CONFIG_ETRAXFS)                 += cris-etraxfs-cpufreq.o
 obj-$(CONFIG_IA64_ACPI_CPUFREQ)                += ia64-acpi-cpufreq.o
 obj-$(CONFIG_LOONGSON2_CPUFREQ)                += loongson2_cpufreq.o
 obj-$(CONFIG_SH_CPU_FREQ)              += sh-cpufreq.o
+obj-$(CONFIG_UNICORE32)                        += unicore2-cpufreq.o
similarity index 96%
rename from arch/unicore32/kernel/cpu-ucv2.c
rename to drivers/cpufreq/unicore2-cpufreq.c
index ba5a71ce2d710e7160f7c76a6551b7b9259aa912..12fc904d7dabea615955f1f8449b4bc670849ed7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * linux/arch/unicore32/kernel/cpu-ucv2.c: clock scaling for the UniCore-II
+ * clock scaling for the UniCore-II
  *
  * Code specific to PKUnity SoC and UniCore ISA
  *