summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/palmtc.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2015-11-03 16:05:57 +0300
committerArnd Bergmann <arnd@arndb.de>2015-11-19 18:15:51 +0300
commitca1ef9ceb0d1b2b41586e422c08976f8e7a8714f (patch)
tree4b04126c25807fdf2f58163935933ba8401874e4 /arch/arm/mach-pxa/palmtc.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-ca1ef9ceb0d1b2b41586e422c08976f8e7a8714f.tar.xz
ARM: pxa: palm: Fix typos in PWM lookup table code
The patches that were applied to add PWM lookup tables for legacy boards were from v1 of the series instead of the revised v2 where the resulting build errors had already been fixed. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/palmtc.c')
-rw-r--r--arch/arm/mach-pxa/palmtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/palmtc.c b/arch/arm/mach-pxa/palmtc.c
index aebf6de62468..0b5c3876720c 100644
--- a/arch/arm/mach-pxa/palmtc.c
+++ b/arch/arm/mach-pxa/palmtc.c
@@ -169,7 +169,7 @@ static inline void palmtc_keys_init(void) {}
#if defined(CONFIG_BACKLIGHT_PWM) || defined(CONFIG_BACKLIGHT_PWM_MODULE)
static struct pwm_lookup palmtc_pwm_lookup[] = {
PWM_LOOKUP("pxa25x-pwm.1", 0, "pwm-backlight.0", NULL, PALMTC_PERIOD_NS,
- PWM_PERIOD_NORMAL),
+ PWM_POLARITY_NORMAL),
};
static struct platform_pwm_backlight_data palmtc_backlight_data = {