]> Pileus Git - ~andy/linux/commitdiff
[CPUFREQ/S3C64xx] Move S3C64xx CPUfreq driver into drivers/cpufreq
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 May 2011 13:42:08 +0000 (15:42 +0200)
committerDave Jones <davej@redhat.com>
Wed, 13 Jul 2011 22:29:51 +0000 (18:29 -0400)
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>
arch/arm/mach-s3c64xx/Makefile
drivers/cpufreq/Makefile
drivers/cpufreq/s3c64xx.c [moved from arch/arm/mach-s3c64xx/cpufreq.c with 99% similarity]

index 4657363f0674a77f1dfb1bec308f0c1d31610489..f5a7144a052fa5e2c0eb70da6f4b85d14ce603b4 100644 (file)
@@ -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
index e2fc2d21fa6168c16acf5dcab7b75c012879630b..0fd8cae1c8285460cef58930fede3b24f6061bbd 100644 (file)
@@ -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
similarity index 99%
rename from arch/arm/mach-s3c64xx/cpufreq.c
rename to drivers/cpufreq/s3c64xx.c
index 4375b97588b818da3521d6ce565704cbbbc231e2..fc3f18078e5d74ca977cf369c19f3dbcaa3ab751 100644 (file)
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s3c64xx/cpufreq.c
- *
+/*
  * Copyright 2009 Wolfson Microelectronics plc
  *
  * S3C64xx CPUfreq Support