Skip to contentSkip to conversation

CPUFREQ/S3C64xx: Move S3C64xx CPUfreq driver into drivers/cpufreq

PATCH New Mark Brown 1 participant 1 message May 10, 2011

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/mach-s3c64xx/Makefile                     |    4 ----
 drivers/cpufreq/Makefile                           |    2 ++
 .../cpufreq.c => drivers/cpufreq/s3c64xx.c         |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
 rename arch/arm/mach-s3c64xx/cpufreq.c => drivers/cpufreq/s3c64xx.c (99%)
arch/arm/mach-s3c64xx/Makefile +0 -4
index 88d7fd2..61b4034 100644
@@ -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
drivers/cpufreq/Makefile +2 -0
index e3fc242..2edd08f 100644
@@ -39,3 +39,5 @@ obj-$(CONFIG_X86_CPUFREQ_NFORCE2)	+= cpufreq-nforce2.o
 
 ##################################################################################d
 
+# ARM CPUfreq drivers
+obj-$(CONFIG_CPU_FREQ_S3C64XX)  += s3c64xx.o
drivers/cpufreq/s3c64xx.c renamed from arch/arm/mach-s3c64xx/cpufreq.c +1 -2
similarity index 99%
rename from arch/arm/mach-s3c64xx/cpufreq.c
rename to drivers/cpufreq/s3c64xx.c
index 1e7df30..c370935 100644
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s3c64xx/cpufreq.c
- *
+/*
  * Copyright 2009 Wolfson Microelectronics plc
  *
  * S3C64xx CPUfreq Support
Signature · 1 line
1.7.4.1