aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/tosa_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/tosa_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/tosa_bl.c')
-rw-r--r--drivers/video/backlight/tosa_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 43edbada12d1..e14ce4d469f5 100644
--- a/drivers/video/backlight/tosa_bl.c
+++ b/drivers/video/backlight/tosa_bl.c
@@ -72,7 +72,7 @@ static int tosa_bl_get_brightness(struct backlight_device *dev)
72 return props->brightness; 72 return props->brightness;
73} 73}
74 74
75static struct backlight_ops bl_ops = { 75static const struct backlight_ops bl_ops = {
76 .get_brightness = tosa_bl_get_brightness, 76 .get_brightness = tosa_bl_get_brightness,
77 .update_status = tosa_bl_update_status, 77 .update_status = tosa_bl_update_status,
78}; 78};