summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/da903x_bl.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-17 23:58:07 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-17 23:58:07 (GMT)
commit4e46aa083853a84c770e00b03746bdeaf5c5aeff (patch)
treef93d3f88e038d176a4661639edbdb9a99d9f7402 /drivers/video/backlight/da903x_bl.c
parent9209e4bd4b3b9ee3a104313b426380e8d1f59260 (diff)
parentf7a297af49e5d9d2c577466307e8ef392750c9d9 (diff)
downloadlinux-fsl-qoriq-4e46aa083853a84c770e00b03746bdeaf5c5aeff.tar.xz
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight
* 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight: backlight: mbp_nvidia_bl - add two more MacBookPro variants backlight: Pass device through notify callback in the pwm driver backlight: PTR_ERR return of wrong pointer in cr_backlight_probe() backlight: Constify struct backlight_ops backlight/thinkpad-acpi: issue backlight class events Fix up trivial conflicts in thinkpad-acpi support (backlight support already merged earlier).
Diffstat (limited to 'drivers/video/backlight/da903x_bl.c')
-rw-r--r--drivers/video/backlight/da903x_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/da903x_bl.c b/drivers/video/backlight/da903x_bl.c
index f2d76da..74cdc64 100644
--- a/drivers/video/backlight/da903x_bl.c
+++ b/drivers/video/backlight/da903x_bl.c
@@ -95,7 +95,7 @@ static int da903x_backlight_get_brightness(struct backlight_device *bl)
return data->current_brightness;
}
-static struct backlight_ops da903x_backlight_ops = {
+static const struct backlight_ops da903x_backlight_ops = {
.update_status = da903x_backlight_update_status,
.get_brightness = da903x_backlight_get_brightness,
};