backlight: Constify struct backlight_ops
Signed-off-by: Emese Revfy <re.emese@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:

committed by
Richard Purdie

parent
6baddba4a4
commit
9905a43b2d
@@ -113,7 +113,7 @@ static int atmel_pwm_bl_init_pwm(struct atmel_pwm_bl *pwmbl)
|
||||
return pwm_channel_enable(&pwmbl->pwmc);
|
||||
}
|
||||
|
||||
static struct backlight_ops atmel_pwm_bl_ops = {
|
||||
static const struct backlight_ops atmel_pwm_bl_ops = {
|
||||
.get_brightness = atmel_pwm_bl_get_intensity,
|
||||
.update_status = atmel_pwm_bl_set_intensity,
|
||||
};
|
||||
|
Reference in New Issue
Block a user