Browse Source

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>
Laurent Pinchart 13 years ago
parent
commit
3281e54c80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/video/sh_mobile_lcdcfb.c

+ 1 - 1
drivers/video/sh_mobile_lcdcfb.c

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