summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-10 15:42:08 +0200
committerDave Jones <davej@redhat.com>2011-07-13 18:29:51 -0400
commitbe2de99beaca6506a1f97a636750c108a41b5c00 (patch)
treedfa91678aa0bf9761d9b71a505548711abb7302c
parent92e03c41a415e8e9e8009a1f5bbb9036f3bfb2f4 (diff)
downloadlinux-3.10-be2de99beaca6506a1f97a636750c108a41b5c00.tar.gz
linux-3.10-be2de99beaca6506a1f97a636750c108a41b5c00.tar.bz2
linux-3.10-be2de99beaca6506a1f97a636750c108a41b5c00.zip
[CPUFREQ/S3C64xx] Move S3C64xx CPUfreq driver into drivers/cpufreq
This is a straight code motion patch, there are no changes to the driver itself. The Kconfig is left untouched as the ARM CPUfreq Kconfig is all in one big block in arm/Kconfig and should be moved en masse rather than being done piecemeal. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r--arch/arm/mach-s3c64xx/Makefile4
-rw-r--r--drivers/cpufreq/Makefile1
-rw-r--r--drivers/cpufreq/s3c64xx.c (renamed from arch/arm/mach-s3c64xx/cpufreq.c)3
3 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c64xx/Makefile b/arch/arm/mach-s3c64xx/Makefile
index 4657363f067..f5a7144a052 100644
--- a/arch/arm/mach-s3c64xx/Makefile
+++ b/arch/arm/mach-s3c64xx/Makefile
@@ -23,10 +23,6 @@ obj-$(CONFIG_CPU_S3C6410) += s3c6410.o
obj-y += irq.o
obj-y += irq-eint.o
-# CPU frequency scaling
-
-obj-$(CONFIG_CPU_FREQ_S3C64XX) += cpufreq.o
-
# DMA support
obj-$(CONFIG_S3C64XX_DMA) += dma.o
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index e2fc2d21fa6..0fd8cae1c82 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -41,3 +41,4 @@ obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
# ARM SoC drivers
obj-$(CONFIG_UX500_SOC_DB8500) += db8500-cpufreq.o
+obj-$(CONFIG_CPU_FREQ_S3C64XX) += s3c64xx.o
diff --git a/arch/arm/mach-s3c64xx/cpufreq.c b/drivers/cpufreq/s3c64xx.c
index 4375b97588b..fc3f18078e5 100644
--- a/arch/arm/mach-s3c64xx/cpufreq.c
+++ b/drivers/cpufreq/s3c64xx.c
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s3c64xx/cpufreq.c
- *
+/*
* Copyright 2009 Wolfson Microelectronics plc
*
* S3C64xx CPUfreq Support