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:
Laurent Pinchart 2011-11-22 00:56:58 +01:00
parent e6765ffa68
commit 3281e54c80
1 changed files with 1 additions and 1 deletions

View File

@ -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,