Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1663311 > unrolled thread
| Started by | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| First post | 2017-06-12 10:30 +0200 |
| Last post | 2017-06-14 17:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] video: fbdev: sh_mobile_lcdcfb: constify sh_mobile_lcdc_bl_ops. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-06-12 10:30 +0200
Re: [PATCH] video: fbdev: sh_mobile_lcdcfb: constify sh_mobile_lcdc_bl_ops. Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-06-14 17:40 +0200
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Date | 2017-06-12 10:30 +0200 |
| Subject | [PATCH] video: fbdev: sh_mobile_lcdcfb: constify sh_mobile_lcdc_bl_ops. |
| Message-ID | <tRsTw-8al-1@gated-at.bofh.it> |
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>
---
drivers/video/fbdev/sh_mobile_lcdcfb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/sh_mobile_lcdcfb.c b/drivers/video/fbdev/sh_mobile_lcdcfb.c
index 885ee3a..c3a4650 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,
--
1.9.1
[toc] | [next] | [standalone]
| From | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> |
|---|---|
| Date | 2017-06-14 17:40 +0200 |
| Subject | Re: [PATCH] video: fbdev: sh_mobile_lcdcfb: constify sh_mobile_lcdc_bl_ops. |
| Message-ID | <tSiyK-6WY-23@gated-at.bofh.it> |
| In reply to | #1663311 |
On Monday, June 12, 2017 01:54:47 PM Arvind Yadav wrote: > 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> Patch queued for 4.13, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web