summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/locomolcd.c
diff options
context:
space:
mode:
authorEmese Revfy2009-12-14 00:58:57 +0100
committerRichard Purdie2009-12-16 12:33:46 +0100
commit9905a43b2d563e6f89e4c63c4278ada03f2ebb14 (patch)
treec7bf0a38c434d34c77737415a016cf4a0c0473ef /drivers/video/backlight/locomolcd.c
parentbacklight/thinkpad-acpi: issue backlight class events (diff)
downloadkernel-qcow2-linux-9905a43b2d563e6f89e4c63c4278ada03f2ebb14.tar.gz
kernel-qcow2-linux-9905a43b2d563e6f89e4c63c4278ada03f2ebb14.tar.xz
kernel-qcow2-linux-9905a43b2d563e6f89e4c63c4278ada03f2ebb14.zip
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/locomolcd.c')
-rw-r--r--drivers/video/backlight/locomolcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/locomolcd.c b/drivers/video/backlight/locomolcd.c
index 6b488b8a7eee..00a9591b0003 100644
--- a/drivers/video/backlight/locomolcd.c
+++ b/drivers/video/backlight/locomolcd.c
@@ -141,7 +141,7 @@ static int locomolcd_get_intensity(struct backlight_device *bd)
return current_intensity;
}
-static struct backlight_ops locomobl_data = {
+static const struct backlight_ops locomobl_data = {
.get_brightness = locomolcd_get_intensity,
.update_status = locomolcd_set_intensity,
};