Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca1ef9ce authored by Thierry Reding's avatar Thierry Reding Committed by Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 8005c49d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -344,7 +344,7 @@ void __init palm27x_pwm_init(int bl, int lcd)
{
{
	palm_bl_power	= bl;
	palm_bl_power	= bl;
	palm_lcd_power	= lcd;
	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);
	platform_device_register(&palm27x_backlight);
}
}
#endif
#endif
+1 −1
Original line number Original line Diff line number Diff line
@@ -169,7 +169,7 @@ static inline void palmtc_keys_init(void) {}
#if defined(CONFIG_BACKLIGHT_PWM) || defined(CONFIG_BACKLIGHT_PWM_MODULE)
#if defined(CONFIG_BACKLIGHT_PWM) || defined(CONFIG_BACKLIGHT_PWM_MODULE)
static struct pwm_lookup palmtc_pwm_lookup[] = {
static struct pwm_lookup palmtc_pwm_lookup[] = {
	PWM_LOOKUP("pxa25x-pwm.1", 0, "pwm-backlight.0", NULL, PALMTC_PERIOD_NS,
	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 = {
static struct platform_pwm_backlight_data palmtc_backlight_data = {