projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: Constify struct backlight_ops
[cascardo/linux.git]
/
drivers
/
video
/
backlight
/
omap1_bl.c
diff --git
a/drivers/video/backlight/omap1_bl.c
b/drivers/video/backlight/omap1_bl.c
index
8693e5f
..
409ca96
100644
(file)
--- a/
drivers/video/backlight/omap1_bl.c
+++ b/
drivers/video/backlight/omap1_bl.c
@@
-125,7
+125,7
@@
static int omapbl_get_intensity(struct backlight_device *dev)
return bl->current_intensity;
}
-static struct backlight_ops omapbl_ops = {
+static
const
struct backlight_ops omapbl_ops = {
.get_brightness = omapbl_get_intensity,
.update_status = omapbl_update_status,
};