From a7582733ef7fa80d8e8a53717e73cf83b6f2152e Mon Sep 17 00:00:00 2001 From: Bhumika Goyal Date: Mon, 4 Sep 2017 16:00:50 +0200 Subject: video: fbdev: make fb_var_screeninfo const Make these const as they are not modified anywhere. Signed-off-by: Bhumika Goyal Cc: Julia Lawall Cc: Guan Xuetao Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/video/fbdev/fb-puv3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/video/fbdev/fb-puv3.c') diff --git a/drivers/video/fbdev/fb-puv3.c b/drivers/video/fbdev/fb-puv3.c index 88fa2e70a0bb..d9e816d53531 100644 --- a/drivers/video/fbdev/fb-puv3.c +++ b/drivers/video/fbdev/fb-puv3.c @@ -69,7 +69,7 @@ static const struct fb_videomode unifb_modes[] = { 0, FB_VMODE_NONINTERLACED, FB_MODE_IS_VESA }, }; -static struct fb_var_screeninfo unifb_default = { +static const struct fb_var_screeninfo unifb_default = { .xres = 640, .yres = 480, .xres_virtual = 640, -- cgit