summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/atmel-pwm-bl.c
diff options
context:
space:
mode:
authorEmese Revfy <re.emese@gmail.com>2009-12-14 02:58:57 +0300
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-16 14:33:46 +0300
commit9905a43b2d563e6f89e4c63c4278ada03f2ebb14 (patch)
treec7bf0a38c434d34c77737415a016cf4a0c0473ef /drivers/video/backlight/atmel-pwm-bl.c
parent6baddba4a40b4f4e37db051e84ac5e7cc454a19c (diff)
downloadlinux-9905a43b2d563e6f89e4c63c4278ada03f2ebb14.tar.xz
backlight: Constify struct backlight_ops
Signed-off-by: Emese Revfy <re.emese@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/video/backlight/atmel-pwm-bl.c')
-rw-r--r--drivers/video/backlight/atmel-pwm-bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/atmel-pwm-bl.c b/drivers/video/backlight/atmel-pwm-bl.c
index 2cf7ba52f67c..f625ffc69ad3 100644
--- a/drivers/video/backlight/atmel-pwm-bl.c
+++ b/drivers/video/backlight/atmel-pwm-bl.c
@@ -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,
};