diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-04-04 08:54:14 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-08 07:02:31 -0400 |
| commit | b7e614c8bf5c898b172d7dfed9853fdda35be5cc (patch) | |
| tree | 24302c56c3f4bbcbc4e22879a9cc3fa42780aeb0 | |
| parent | cffc96eb4f91ba0f974b352a28b15f84950bd776 (diff) | |
cpufreq: integrator: move cpufreq driver to drivers/cpufreq
This patch moves cpufreq driver of ARM based integrator platform to
drivers/cpufreq.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
| -rw-r--r-- | arch/arm/Kconfig | 11 | ||||
| -rw-r--r-- | arch/arm/mach-integrator/Makefile | 1 | ||||
| -rw-r--r-- | drivers/cpufreq/Kconfig.arm | 8 | ||||
| -rw-r--r-- | drivers/cpufreq/Makefile | 1 | ||||
| -rw-r--r-- | drivers/cpufreq/integrator-cpufreq.c (renamed from arch/arm/mach-integrator/cpu.c) | 2 |
5 files changed, 9 insertions, 14 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 76eb836793a1..c3563f6dc9f2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -2166,17 +2166,6 @@ config CPU_FREQ_SA1100 | |||
| 2166 | config CPU_FREQ_SA1110 | 2166 | config CPU_FREQ_SA1110 |
| 2167 | bool | 2167 | bool |
| 2168 | 2168 | ||
| 2169 | config CPU_FREQ_INTEGRATOR | ||
| 2170 | tristate "CPUfreq driver for ARM Integrator CPUs" | ||
| 2171 | depends on ARCH_INTEGRATOR && CPU_FREQ | ||
| 2172 | default y | ||
| 2173 | help | ||
| 2174 | This enables the CPUfreq driver for ARM Integrator CPUs. | ||
| 2175 | |||
| 2176 | For details, take a look at <file:Documentation/cpu-freq>. | ||
| 2177 | |||
| 2178 | If in doubt, say Y. | ||
| 2179 | |||
| 2180 | config CPU_FREQ_S3C | 2169 | config CPU_FREQ_S3C |
| 2181 | bool | 2170 | bool |
| 2182 | help | 2171 | help |
diff --git a/arch/arm/mach-integrator/Makefile b/arch/arm/mach-integrator/Makefile index 5521d18bf19a..d14d6b76f4c2 100644 --- a/arch/arm/mach-integrator/Makefile +++ b/arch/arm/mach-integrator/Makefile | |||
| @@ -9,5 +9,4 @@ obj-$(CONFIG_ARCH_INTEGRATOR_AP) += integrator_ap.o | |||
| 9 | obj-$(CONFIG_ARCH_INTEGRATOR_CP) += integrator_cp.o | 9 | obj-$(CONFIG_ARCH_INTEGRATOR_CP) += integrator_cp.o |
| 10 | 10 | ||
| 11 | obj-$(CONFIG_PCI) += pci_v3.o pci.o | 11 | obj-$(CONFIG_PCI) += pci_v3.o pci.o |
| 12 | obj-$(CONFIG_CPU_FREQ_INTEGRATOR) += cpu.o | ||
| 13 | obj-$(CONFIG_INTEGRATOR_IMPD1) += impd1.o | 12 | obj-$(CONFIG_INTEGRATOR_IMPD1) += impd1.o |
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 25d866a32f51..97f208daf8ae 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm | |||
| @@ -66,6 +66,14 @@ config ARM_IMX6Q_CPUFREQ | |||
| 66 | 66 | ||
| 67 | If in doubt, say N. | 67 | If in doubt, say N. |
| 68 | 68 | ||
| 69 | config ARM_INTEGRATOR | ||
| 70 | tristate "CPUfreq driver for ARM Integrator CPUs" | ||
| 71 | depends on ARCH_INTEGRATOR | ||
| 72 | default y | ||
| 73 | help | ||
| 74 | This enables the CPUfreq driver for ARM Integrator CPUs. | ||
| 75 | If in doubt, say Y. | ||
| 76 | |||
| 69 | config ARM_KIRKWOOD_CPUFREQ | 77 | config ARM_KIRKWOOD_CPUFREQ |
| 70 | def_bool ARCH_KIRKWOOD && OF | 78 | def_bool ARCH_KIRKWOOD && OF |
| 71 | help | 79 | help |
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index aa766fb85513..8d5801645f9d 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile | |||
| @@ -57,6 +57,7 @@ obj-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos4x12-cpufreq.o | |||
| 57 | obj-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos5250-cpufreq.o | 57 | obj-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos5250-cpufreq.o |
| 58 | obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o | 58 | obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o |
| 59 | obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o | 59 | obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o |
| 60 | obj-$(CONFIG_ARM_INTEGRATOR) += integrator-cpufreq.o | ||
| 60 | obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o | 61 | obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o |
| 61 | obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o | 62 | obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o |
| 62 | obj-$(CONFIG_PXA25x) += pxa2xx-cpufreq.o | 63 | obj-$(CONFIG_PXA25x) += pxa2xx-cpufreq.o |
diff --git a/arch/arm/mach-integrator/cpu.c b/drivers/cpufreq/integrator-cpufreq.c index df863c30771c..f7c99df0880b 100644 --- a/arch/arm/mach-integrator/cpu.c +++ b/drivers/cpufreq/integrator-cpufreq.c | |||
| @@ -1,6 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * linux/arch/arm/mach-integrator/cpu.c | ||
| 3 | * | ||
| 4 | * Copyright (C) 2001-2002 Deep Blue Solutions Ltd. | 2 | * Copyright (C) 2001-2002 Deep Blue Solutions Ltd. |
| 5 | * | 3 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
