summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/palm27x.c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2015-11-03 14:05:57 +0100
committerArnd Bergmann <arnd@arndb.de>2015-11-19 16:15:51 +0100
commitca1ef9ceb0d1b2b41586e422c08976f8e7a8714f (patch)
tree4b04126c25807fdf2f58163935933ba8401874e4 /arch/arm/mach-pxa/palm27x.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-ca1ef9ceb0d1b2b41586e422c08976f8e7a8714f.tar.bz2
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/palm27x.c')
-rw-r--r--arch/arm/mach-pxa/palm27x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/palm27x.c b/arch/arm/mach-pxa/palm27x.c
index 13eba2b26e0a..8fbfb10047ec 100644
--- a/arch/arm/mach-pxa/palm27x.c
+++ b/arch/arm/mach-pxa/palm27x.c
@@ -344,7 +344,7 @@ void __init palm27x_pwm_init(int bl, int lcd)
{
palm_bl_power = bl;
palm_lcd_power = lcd;
- pwm_add_lookup(palm27x_pwm_lookup, ARRAY_SIZE(palm27x_pwm_lookup));
+ pwm_add_table(palm27x_pwm_lookup, ARRAY_SIZE(palm27x_pwm_lookup));
platform_device_register(&palm27x_backlight);
}
#endif