summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/progear_bl.c
diff options
context:
space:
mode:
authorEmese Revfy <re.emese@gmail.com>2009-12-14 00:58:57 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-16 11:33:46 +0000
commit9905a43b2d563e6f89e4c63c4278ada03f2ebb14 (patch)
treec7bf0a38c434d34c77737415a016cf4a0c0473ef /drivers/video/backlight/progear_bl.c
parent6baddba4a40b4f4e37db051e84ac5e7cc454a19c (diff)
downloadblackbird-op-linux-9905a43b2d563e6f89e4c63c4278ada03f2ebb14.tar.gz
blackbird-op-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/progear_bl.c')
-rw-r--r--drivers/video/backlight/progear_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/progear_bl.c b/drivers/video/backlight/progear_bl.c
index 9edaf24fd82d..075786e05034 100644
--- 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,
};
OpenPOWER on IntegriCloud