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
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue