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/maxinefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/video/fbdev/maxinefb.c') diff --git a/drivers/video/fbdev/maxinefb.c b/drivers/video/fbdev/maxinefb.c index cab7333208ea..5bb1b5c308a7 100644 --- a/drivers/video/fbdev/maxinefb.c +++ b/drivers/video/fbdev/maxinefb.c @@ -39,7 +39,7 @@ static struct fb_info fb_info; -static struct fb_var_screeninfo maxinefb_defined = { +static const struct fb_var_screeninfo maxinefb_defined = { .xres = 1024, .yres = 768, .xres_virtual = 1024, -- cgit v1.2.3