git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: Constify struct backlight_ops
[safe/jmp/linux-2.6]
/
drivers
/
video
/
backlight
/
progear_bl.c
diff --git
a/drivers/video/backlight/progear_bl.c
b/drivers/video/backlight/progear_bl.c
index
9edaf24
..
075786e
100644
(file)
--- a/
drivers/video/backlight/progear_bl.c
+++ b/
drivers/video/backlight/progear_bl.c
@@
-54,7
+54,7
@@
static int progearbl_get_intensity(struct backlight_device *bd)
return intensity - HW_LEVEL_MIN;
}
-static struct backlight_ops progearbl_ops = {
+static
const
struct backlight_ops progearbl_ops = {
.get_brightness = progearbl_get_intensity,
.update_status = progearbl_set_intensity,
};