video: fbdev: make fb_var_screeninfo const

Make these const as they are not modified anywhere.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

authored by

Bhumika Goyal and committed by
Bartlomiej Zolnierkiewicz
a7582733 8e75f7a7

+7 -7
+1 -1
drivers/video/fbdev/fb-puv3.c
··· 69 69 0, FB_VMODE_NONINTERLACED, FB_MODE_IS_VESA }, 70 70 }; 71 71 72 - static struct fb_var_screeninfo unifb_default = { 72 + static const struct fb_var_screeninfo unifb_default = { 73 73 .xres = 640, 74 74 .yres = 480, 75 75 .xres_virtual = 640,
+1 -1
drivers/video/fbdev/maxinefb.c
··· 39 39 40 40 static struct fb_info fb_info; 41 41 42 - static struct fb_var_screeninfo maxinefb_defined = { 42 + static const struct fb_var_screeninfo maxinefb_defined = { 43 43 .xres = 1024, 44 44 .yres = 768, 45 45 .xres_virtual = 1024,
+1 -1
drivers/video/fbdev/pmag-aa-fb.c
··· 67 67 struct bt431_regs __iomem *bt431; 68 68 }; 69 69 70 - static struct fb_var_screeninfo aafb_defined = { 70 + static const struct fb_var_screeninfo aafb_defined = { 71 71 .xres = 1280, 72 72 .yres = 1024, 73 73 .xres_virtual = 2048,
+1 -1
drivers/video/fbdev/pmag-ba-fb.c
··· 43 43 }; 44 44 45 45 46 - static struct fb_var_screeninfo pmagbafb_defined = { 46 + static const struct fb_var_screeninfo pmagbafb_defined = { 47 47 .xres = 1024, 48 48 .yres = 864, 49 49 .xres_virtual = 1024,
+1 -1
drivers/video/fbdev/pmagb-b-fb.c
··· 44 44 }; 45 45 46 46 47 - static struct fb_var_screeninfo pmagbbfb_defined = { 47 + static const struct fb_var_screeninfo pmagbbfb_defined = { 48 48 .bits_per_pixel = 8, 49 49 .red.length = 8, 50 50 .green.length = 8,
+1 -1
drivers/video/fbdev/pvr2fb.c
··· 154 154 .accel = FB_ACCEL_NONE, 155 155 }; 156 156 157 - static struct fb_var_screeninfo pvr2_var = { 157 + static const struct fb_var_screeninfo pvr2_var = { 158 158 .xres = 640, 159 159 .yres = 480, 160 160 .xres_virtual = 640,
+1 -1
drivers/video/fbdev/q40fb.c
··· 36 36 .accel = FB_ACCEL_NONE, 37 37 }; 38 38 39 - static struct fb_var_screeninfo q40fb_var = { 39 + static const struct fb_var_screeninfo q40fb_var = { 40 40 .xres = 1024, 41 41 .yres = 512, 42 42 .xres_virtual = 1024,