mirror of https://gitee.com/openkylin/linux.git
fbdev: sh_mobile_lcdc: Constify sh_mobile_lcdc_fix structure
The structure is only read, make it const. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
e6765ffa68
commit
3281e54c80
|
@ -1003,7 +1003,7 @@ static int sh_mobile_lcdc_setcolreg(u_int regno,
|
|||
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",
|
||||
.type = FB_TYPE_PACKED_PIXELS,
|
||||
.visual = FB_VISUAL_TRUECOLOR,
|
||||
|
|
Loading…
Reference in New Issue