aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/adx_bl.c
diff options
context:
space:
mode:
authorEmese Revfy <re.emese@gmail.com>2009-12-13 18:58:57 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-16 06:33:46 -0500
commit9905a43b2d563e6f89e4c63c4278ada03f2ebb14 (patch)
treec7bf0a38c434d34c77737415a016cf4a0c0473ef /drivers/video/backlight/adx_bl.c
parent6baddba4a40b4f4e37db051e84ac5e7cc454a19c (diff)
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/adx_bl.c')
-rw-r--r--drivers/video/backlight/adx_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/adx_bl.c b/drivers/video/backlight/adx_bl.c
index 2c3bdfc620b7..d769b0bab21a 100644
--- a/drivers/video/backlight/adx_bl.c
+++ b/drivers/video/backlight/adx_bl.c
@@ -61,7 +61,7 @@ static int adx_backlight_check_fb(struct fb_info *fb)
61 return 1; 61 return 1;
62} 62}
63 63
64static struct backlight_ops adx_backlight_ops = { 64static const struct backlight_ops adx_backlight_ops = {
65 .options = 0, 65 .options = 0,
66 .update_status = adx_backlight_update_status, 66 .update_status = adx_backlight_update_status,
67 .get_brightness = adx_backlight_get_brightness, 67 .get_brightness = adx_backlight_get_brightness,