From 3852ac7113f313d96af80257a070fd8ab2eea5c6 Mon Sep 17 00:00:00 2001 From: Eric Miao Date: Mon, 13 Apr 2009 16:28:02 +0800 Subject: [PATCH] [ARM] pxa: move pwm.c to common plat-pxa directory Signed-off-by: Eric Miao --- arch/arm/mach-pxa/Makefile | 1 - arch/arm/plat-pxa/Makefile | 2 ++ arch/arm/{mach-pxa => plat-pxa}/pwm.c | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename arch/arm/{mach-pxa => plat-pxa}/pwm.c (100%) diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index 4bcebf72074a..47d01572a04d 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile @@ -15,7 +15,6 @@ endif # Generic drivers that other drivers may depend upon obj-$(CONFIG_PXA_SSP) += ssp.o -obj-$(CONFIG_HAVE_PWM) += pwm.o # SoC-specific code obj-$(CONFIG_PXA25x) += mfp-pxa2xx.o pxa2xx.o pxa25x.o diff --git a/arch/arm/plat-pxa/Makefile b/arch/arm/plat-pxa/Makefile index 8f2c4c7fbd48..0264bfb0ca4f 100644 --- a/arch/arm/plat-pxa/Makefile +++ b/arch/arm/plat-pxa/Makefile @@ -7,3 +7,5 @@ obj-y := dma.o obj-$(CONFIG_GENERIC_GPIO) += gpio.o obj-$(CONFIG_PXA3xx) += mfp.o obj-$(CONFIG_ARCH_MMP) += mfp.o + +obj-$(CONFIG_HAVE_PWM) += pwm.o diff --git a/arch/arm/mach-pxa/pwm.c b/arch/arm/plat-pxa/pwm.c similarity index 100% rename from arch/arm/mach-pxa/pwm.c rename to arch/arm/plat-pxa/pwm.c -- 2.30.2