From: Laurent Pinchart Date: Mon, 21 Nov 2011 23:56:58 +0000 (+0100) Subject: fbdev: sh_mobile_lcdc: Constify sh_mobile_lcdc_fix structure X-Git-Tag: v3.6-rc1~16^2~26^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3281e54c80195b90ed12a5b6cddef4ab42e656e1;p=profile%2Fivi%2Fkernel-x86-ivi.git fbdev: sh_mobile_lcdc: Constify sh_mobile_lcdc_fix structure The structure is only read, make it const. Signed-off-by: Laurent Pinchart --- diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index e672698..5461abe 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/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,