[ARM] pxa: build pwm.c according to HAVE_PWM instead of PXA_PWM
authorEric Miao <eric.miao@marvell.com>
Mon, 13 Apr 2009 08:09:21 +0000 (16:09 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 5 Jun 2009 02:32:04 +0000 (10:32 +0800)
The PXA_PWM config option is really redundant since the introduction
of HAVE_PWM, replace that with HAVE_PWM to avoid confusion.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/Kconfig
arch/arm/mach-pxa/Makefile

index 17d3fbd..47747f9 100644 (file)
@@ -505,12 +505,6 @@ config PXA_SSP
        help
          Enable support for PXA2xx SSP ports
 
-config PXA_PWM
-       tristate
-       default BACKLIGHT_PWM
-       help
-         Enable support for PXA2xx/PXA3xx PWM controllers
-
 config TOSA_BT
        tristate "Control the state of built-in bluetooth chip on Sharp SL-6000"
        depends on MACH_TOSA
index 682dbf4..4bcebf7 100644 (file)
@@ -15,7 +15,7 @@ endif
 
 # Generic drivers that other drivers may depend upon
 obj-$(CONFIG_PXA_SSP)          += ssp.o
-obj-$(CONFIG_PXA_PWM)          += pwm.o
+obj-$(CONFIG_HAVE_PWM)         += pwm.o
 
 # SoC-specific code
 obj-$(CONFIG_PXA25x)           += mfp-pxa2xx.o pxa2xx.o pxa25x.o