Skip to content

Commit

Permalink
fbdev: sh_mobile_lcdc: Constify sh_mobile_lcdc_fix structure
Browse files Browse the repository at this point in the history
The structure is only read, make it const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  • Loading branch information
Laurent Pinchart committed Jun 20, 2012
1 parent e6765ff commit 3281e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/sh_mobile_lcdcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3281e54

Please sign in to comment.