aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/cell/Makefile
diff options
context:
space:
mode:
authorChristian Krafft <krafft@de.ibm.com>2007-07-20 21:39:22 +0200
committerArnd Bergmann <arnd@klappe.arndb.de>2007-07-20 21:41:38 +0200
commit74889e41d9a1f80928130a02af9b010673bc5ba7 (patch)
tree300feac7ceaad88b090ba385abd414281033425a /arch/powerpc/platforms/cell/Makefile
parent1e21fd5af3797a2c322e1723c69732e77aa74f48 (diff)
[CELL] cbe_cpufreq: reorganize code
This patch reorganizes the code of the driver into three files. Two cbe_cpufreq_pmi.c and cbe_cpufreq_pervasive.c care about hardware. cbe_cpufreq.c contains the logic. There is no changed behaviour, except that the PMI related function is now located in a seperate module cbe_cpufreq_pmi. This module will be required by cbe_cpufreq, if CONFIG_CBE_CPUFREQ_PMI has been set. Signed-off-by: Christian Krafft <krafft@de.ibm.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/cell/Makefile')
-rw-r--r--arch/powerpc/platforms/cell/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/Makefile b/arch/powerpc/platforms/cell/Makefile
index 869af89df6f..be059718bec 100644
--- a/arch/powerpc/platforms/cell/Makefile
+++ b/arch/powerpc/platforms/cell/Makefile
@@ -4,7 +4,9 @@ obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \
obj-$(CONFIG_CBE_RAS) += ras.o
obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
-obj-$(CONFIG_CBE_CPUFREQ) += cbe_cpufreq.o
+obj-$(CONFIG_CBE_CPUFREQ_PMI) += cbe_cpufreq_pmi.o
+obj-$(CONFIG_CBE_CPUFREQ) += cbe-cpufreq.o
+cbe-cpufreq-y += cbe_cpufreq_pervasive.o cbe_cpufreq.o
ifeq ($(CONFIG_SMP),y)
obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o