From: Eric Miao Date: Wed, 6 Aug 2008 07:51:53 +0000 (+0800) Subject: [ARM] pxa: rename cpu-pxa.c to cpufreq-pxa2xx.c X-Git-Tag: v2.6.28-rc1~293^2~6^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0d1bde9ed102cf90165adaf7efcff7bb77658eaa;p=linux-2.6-omap-h63xx.git [ARM] pxa: rename cpu-pxa.c to cpufreq-pxa2xx.c Signed-off-by: Eric Miao Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index 3d2dea4afb8..7ab8a2eddd1 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile @@ -6,7 +6,11 @@ obj-y += clock.o devices.o generic.o irq.o dma.o \ time.o gpio.o reset.o obj-$(CONFIG_PM) += pm.o sleep.o standby.o -obj-$(CONFIG_CPU_FREQ) += cpu-pxa.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 obj-$(CONFIG_PXA_SSP) += ssp.o diff --git a/arch/arm/mach-pxa/cpu-pxa.c b/arch/arm/mach-pxa/cpufreq-pxa2xx.c similarity index 99% rename from arch/arm/mach-pxa/cpu-pxa.c rename to arch/arm/mach-pxa/cpufreq-pxa2xx.c index 6f5569bac13..d82528e74bd 100644 --- a/arch/arm/mach-pxa/cpu-pxa.c +++ b/arch/arm/mach-pxa/cpufreq-pxa2xx.c @@ -1,5 +1,5 @@ /* - * linux/arch/arm/mach-pxa/cpu-pxa.c + * linux/arch/arm/mach-pxa/cpufreq-pxa2xx.c * * Copyright (C) 2002,2003 Intrinsyc Software *