summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-06-14 18:40:57 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-06-14 18:40:57 +0300
commit0e25884bbe246d68f1a928a3d5a682ab01a58c83 (patch)
tree77c1b3288449ff9bee7d853fa8e6f58267360724 /drivers/video
parentb543849350d90849719e63ded1b71bc0ee6d9d73 (diff)
downloadlinux-0e25884bbe246d68f1a928a3d5a682ab01a58c83.tar.xz
video: fbdev: sh_mobile_lcdcfb: constify sh_mobile_lcdc_bl_ops.
File size before: text data bss dec hex filename 17525 952 0 18477 482d drivers/video/fbdev/sh_mobile_lcdcfb.o File size After adding 'const': text data bss dec hex filename 17557 920 0 18477 482d drivers/video/fbdev/sh_mobile_lcdcfb.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Cc: geert+renesas@glider.be Cc: keescook@chromium.org Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/sh_mobile_lcdcfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/sh_mobile_lcdcfb.c b/drivers/video/fbdev/sh_mobile_lcdcfb.c
index 885ee3a563aa..c3a46506e47e 100644
--- a/drivers/video/fbdev/sh_mobile_lcdcfb.c
+++ b/drivers/video/fbdev/sh_mobile_lcdcfb.c
@@ -2301,7 +2301,7 @@ static int sh_mobile_lcdc_check_fb(struct backlight_device *bdev,
return (info->bl_dev == bdev);
}
-static struct backlight_ops sh_mobile_lcdc_bl_ops = {
+static const struct backlight_ops sh_mobile_lcdc_bl_ops = {
.options = BL_CORE_SUSPENDRESUME,
.update_status = sh_mobile_lcdc_update_bl,
.get_brightness = sh_mobile_lcdc_get_brightness,