diff options
Diffstat (limited to 'arch/arm/plat-samsung/dev-backlight.c')
-rw-r--r-- | arch/arm/plat-samsung/dev-backlight.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/dev-backlight.c b/arch/arm/plat-samsung/dev-backlight.c index a976c023b286..5f197dcaf10c 100644 --- a/arch/arm/plat-samsung/dev-backlight.c +++ b/arch/arm/plat-samsung/dev-backlight.c | |||
@@ -77,7 +77,7 @@ static struct platform_device samsung_dfl_bl_device __initdata = { | |||
77 | * @gpio_info: structure containing GPIO info for PWM timer | 77 | * @gpio_info: structure containing GPIO info for PWM timer |
78 | * @bl_data: structure containing Backlight control data | 78 | * @bl_data: structure containing Backlight control data |
79 | */ | 79 | */ |
80 | void samsung_bl_set(struct samsung_bl_gpio_info *gpio_info, | 80 | void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info, |
81 | struct platform_pwm_backlight_data *bl_data) | 81 | struct platform_pwm_backlight_data *bl_data) |
82 | { | 82 | { |
83 | int ret = 0; | 83 | int ret = 0; |
@@ -115,6 +115,8 @@ void samsung_bl_set(struct samsung_bl_gpio_info *gpio_info, | |||
115 | samsung_bl_data->init = bl_data->init; | 115 | samsung_bl_data->init = bl_data->init; |
116 | if (bl_data->notify) | 116 | if (bl_data->notify) |
117 | samsung_bl_data->notify = bl_data->notify; | 117 | samsung_bl_data->notify = bl_data->notify; |
118 | if (bl_data->notify_after) | ||
119 | samsung_bl_data->notify_after = bl_data->notify_after; | ||
118 | if (bl_data->exit) | 120 | if (bl_data->exit) |
119 | samsung_bl_data->exit = bl_data->exit; | 121 | samsung_bl_data->exit = bl_data->exit; |
120 | if (bl_data->check_fb) | 122 | if (bl_data->check_fb) |