Skip to content

Commit

Permalink
cpufreq: sparc: move cpufreq driver to drivers/cpufreq
Browse files Browse the repository at this point in the history
This patch moves cpufreq driver of SPARC architecture to drivers/cpufreq.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Apr 10, 2013
1 parent 73cc9c8 commit 764295a
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 26 deletions.
23 changes: 0 additions & 23 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -254,29 +254,6 @@ config HOTPLUG_CPU

if SPARC64
source "drivers/cpufreq/Kconfig"

config US3_FREQ
tristate "UltraSPARC-III CPU Frequency driver"
depends on CPU_FREQ
select CPU_FREQ_TABLE
help
This adds the CPUFreq driver for UltraSPARC-III processors.

For details, take a look at <file:Documentation/cpu-freq>.

If in doubt, say N.

config US2E_FREQ
tristate "UltraSPARC-IIe CPU Frequency driver"
depends on CPU_FREQ
select CPU_FREQ_TABLE
help
This adds the CPUFreq driver for UltraSPARC-IIe processors.

For details, take a look at <file:Documentation/cpu-freq>.

If in doubt, say N.

endif

config US3_MC
Expand Down
3 changes: 0 additions & 3 deletions arch/sparc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ obj-$(CONFIG_PCI_MSI) += pci_msi.o

obj-$(CONFIG_COMPAT) += sys32.o sys_sparc32.o signal32.o

# sparc64 cpufreq
obj-$(CONFIG_US3_FREQ) += us3_cpufreq.o
obj-$(CONFIG_US2E_FREQ) += us2e_cpufreq.o
obj-$(CONFIG_US3_MC) += chmc.o

obj-$(CONFIG_KPROBES) += kprobes.o
Expand Down
23 changes: 23 additions & 0 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,29 @@ depends on PPC32 || PPC64
source "drivers/cpufreq/Kconfig.powerpc"
endmenu

menu "SPARC CPU frequency scaling drivers"
depends on SPARC64
config SPARC_US3_CPUFREQ
tristate "UltraSPARC-III CPU Frequency driver"
select CPU_FREQ_TABLE
help
This adds the CPUFreq driver for UltraSPARC-III processors.

For details, take a look at <file:Documentation/cpu-freq>.

If in doubt, say N.

config SPARC_US2E_CPUFREQ
tristate "UltraSPARC-IIe CPU Frequency driver"
select CPU_FREQ_TABLE
help
This adds the CPUFreq driver for UltraSPARC-IIe processors.

For details, take a look at <file:Documentation/cpu-freq>.

If in doubt, say N.
endmenu

menu "SH CPU Frequency scaling"
depends on SUPERH
config SH_CPU_FREQ
Expand Down
2 changes: 2 additions & 0 deletions drivers/cpufreq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,6 @@ obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
File renamed without changes.
File renamed without changes.

0 comments on commit 764295a

Please sign in to comment.