Commit 3281e54c authored by Laurent Pinchart's avatar Laurent Pinchart

fbdev: sh_mobile_lcdc: Constify sh_mobile_lcdc_fix structure

The structure is only read, make it const.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent e6765ffa
...@@ -1003,7 +1003,7 @@ static int sh_mobile_lcdc_setcolreg(u_int regno, ...@@ -1003,7 +1003,7 @@ static int sh_mobile_lcdc_setcolreg(u_int regno,
return 0; return 0;
} }
static struct fb_fix_screeninfo sh_mobile_lcdc_fix = { static const struct fb_fix_screeninfo sh_mobile_lcdc_fix = {
.id = "SH Mobile LCDC", .id = "SH Mobile LCDC",
.type = FB_TYPE_PACKED_PIXELS, .type = FB_TYPE_PACKED_PIXELS,
.visual = FB_VISUAL_TRUECOLOR, .visual = FB_VISUAL_TRUECOLOR,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment