fbdev: sh_mobile_lcdc: Constify sh_mobile_lcdc_fix structure
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 21 Nov 2011 23:56:58 +0000 (00:56 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 20 Jun 2012 08:02:53 +0000 (10:02 +0200)
The structure is only read, make it const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c

index e672698bd820a56be3487568ed4bd332a83b4ffa..5461abeb5c5a366cbb515f36e145d9c1307f61e7 100644 (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,
This page took 0.02959 seconds and 5 git commands to generate.