]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpufreq: pxa2xx: move cpufreq driver to drivers/cpufreq
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Apr 2013 12:54:13 +0000 (12:54 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Apr 2013 11:02:31 +0000 (13:02 +0200)
This patch moves cpufreq driver of ARM based pxa2xx platform to drivers/cpufreq.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/Kconfig
arch/arm/mach-pxa/Makefile
drivers/cpufreq/Makefile
drivers/cpufreq/pxa2xx-cpufreq.c [moved from arch/arm/mach-pxa/cpufreq-pxa2xx.c with 99% similarity]

index 13b739469c515cb93a8dff1cdf686583a3941c54..76eb836793a149331a833a623d839f922da2cb6f 100644 (file)
@@ -2177,13 +2177,6 @@ config CPU_FREQ_INTEGRATOR
 
          If in doubt, say Y.
 
-config CPU_FREQ_PXA
-       bool
-       depends on CPU_FREQ && ARCH_PXA && PXA25x
-       default y
-       select CPU_FREQ_DEFAULT_GOV_USERSPACE
-       select CPU_FREQ_TABLE
-
 config CPU_FREQ_S3C
        bool
        help
index 929e7008e2e4cf43df51b9a8dadfd59775657e2d..648867a8caa80b04f0b27553efca1a79b9df8edd 100644 (file)
@@ -7,11 +7,6 @@ obj-y                          += clock.o devices.o generic.o irq.o \
                                   time.o reset.o
 obj-$(CONFIG_PM)               += pm.o sleep.o standby.o
 
-ifeq ($(CONFIG_CPU_FREQ),y)
-obj-$(CONFIG_PXA25x)           += cpufreq-pxa2xx.o
-obj-$(CONFIG_PXA27x)           += cpufreq-pxa2xx.o
-endif
-
 # Generic drivers that other drivers may depend upon
 
 # SoC-specific code
index 3458bf2ed1bb9ec59082a97c8a3cbd2f4521f420..aa766fb855132de41d25dd1f0c9126b355e6284d 100644 (file)
@@ -59,6 +59,8 @@ obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ)    += highbank-cpufreq.o
 obj-$(CONFIG_ARM_IMX6Q_CPUFREQ)                += imx6q-cpufreq.o
 obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ)     += kirkwood-cpufreq.o
 obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ)    += omap-cpufreq.o
+obj-$(CONFIG_PXA25x)                   += pxa2xx-cpufreq.o
+obj-$(CONFIG_PXA27x)                   += pxa2xx-cpufreq.o
 obj-$(CONFIG_PXA3xx)                   += pxa3xx-cpufreq.o
 obj-$(CONFIG_ARM_S3C2416_CPUFREQ)      += s3c2416-cpufreq.o
 obj-$(CONFIG_ARM_S3C64XX_CPUFREQ)      += s3c64xx-cpufreq.o
similarity index 99%
rename from arch/arm/mach-pxa/cpufreq-pxa2xx.c
rename to drivers/cpufreq/pxa2xx-cpufreq.c
index f1ca4daa1ad615ff6ce5abd740547538cca91ef8..fe4c55b38ec33d6fa9f771d42e989234bbaa3689 100644 (file)
@@ -1,6 +1,4 @@
 /*
- *  linux/arch/arm/mach-pxa/cpufreq-pxa2xx.c
- *
  *  Copyright (C) 2002,2003 Intrinsyc Software
  *
  * This program is free software; you can redistribute it and/or modify