瀏覽代碼

[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>
Mark Brown 14 年之前
父節點
當前提交
be2de99bea
共有 3 個文件被更改,包括 2 次插入6 次删除
  1. 0 4
      arch/arm/mach-s3c64xx/Makefile
  2. 1 0
      drivers/cpufreq/Makefile
  3. 1 2
      drivers/cpufreq/s3c64xx.c

+ 0 - 4
arch/arm/mach-s3c64xx/Makefile

@@ -23,10 +23,6 @@ obj-$(CONFIG_CPU_S3C6410)	+= s3c6410.o
 obj-y				+= irq.o
 obj-y				+= irq.o
 obj-y				+= irq-eint.o
 obj-y				+= irq-eint.o
 
 
-# CPU frequency scaling
-
-obj-$(CONFIG_CPU_FREQ_S3C64XX)  += cpufreq.o
-
 # DMA support
 # DMA support
 
 
 obj-$(CONFIG_S3C64XX_DMA)	+= dma.o
 obj-$(CONFIG_S3C64XX_DMA)	+= dma.o

+ 1 - 0
drivers/cpufreq/Makefile

@@ -41,3 +41,4 @@ obj-$(CONFIG_X86_CPUFREQ_NFORCE2)	+= cpufreq-nforce2.o
 
 
 # ARM SoC drivers
 # ARM SoC drivers
 obj-$(CONFIG_UX500_SOC_DB8500)		+= db8500-cpufreq.o
 obj-$(CONFIG_UX500_SOC_DB8500)		+= db8500-cpufreq.o
+obj-$(CONFIG_CPU_FREQ_S3C64XX)		+= s3c64xx.o

+ 1 - 2
arch/arm/mach-s3c64xx/cpufreq.c → drivers/cpufreq/s3c64xx.c

@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s3c64xx/cpufreq.c
- *
+/*
  * Copyright 2009 Wolfson Microelectronics plc
  * Copyright 2009 Wolfson Microelectronics plc
  *
  *
  * S3C64xx CPUfreq Support
  * S3C64xx CPUfreq Support