From 73921ea5b5ccfe0bbe4c1dfcd1a60fdadc7c7d1e Mon Sep 17 00:00:00 2001
From: Philipp Zabel <philipp.zabel@gmail.com>
Date: Sat, 17 Jan 2009 18:45:40 +0100
Subject: [ARM] pxa/magician: Enable backlight

Magician uses the generic PWM backlight driver,
so select HAVE_PWM.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
---
 arch/arm/configs/magician_defconfig | 4 +++-
 arch/arm/mach-pxa/Kconfig           | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/magician_defconfig b/arch/arm/configs/magician_defconfig
index 7adb09806d4e..dde50df09bce 100644
--- a/arch/arm/configs/magician_defconfig
+++ b/arch/arm/configs/magician_defconfig
@@ -4,6 +4,7 @@
 # Sat Jan 17 17:47:17 2009
 #
 CONFIG_ARM=y
+CONFIG_HAVE_PWM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
 CONFIG_GENERIC_GPIO=y
 CONFIG_GENERIC_TIME=y
@@ -191,7 +192,7 @@ CONFIG_MACH_MAGICIAN=y
 # CONFIG_ARCH_PXA_PALM is not set
 # CONFIG_PXA_EZX is not set
 CONFIG_PXA27x=y
-# CONFIG_PXA_PWM is not set
+CONFIG_PXA_PWM=y
 CONFIG_PXA_HAVE_BOARD_IRQS=y
 
 #
@@ -895,6 +896,7 @@ CONFIG_LCD_CLASS_DEVICE=y
 # CONFIG_LCD_PLATFORM is not set
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
 # CONFIG_BACKLIGHT_GENERIC is not set
+CONFIG_BACKLIGHT_PWM=y
 
 #
 # Display device support
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
index af5b5b463a27..a2ed2aa731b6 100644
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
@@ -295,6 +295,7 @@ config MACH_MAGICIAN
 	bool "Enable HTC Magician Support"
 	select PXA27x
 	select IWMMXT
+	select HAVE_PWM
 	select PXA_HAVE_BOARD_IRQS
 
 config MACH_MIOA701
-- 
cgit v1.2.3