summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/q40fb.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-09-04 17:00:50 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-09-04 17:00:50 +0300
commita7582733ef7fa80d8e8a53717e73cf83b6f2152e (patch)
tree80a5b1c7a37a56b4824b4aa1e0af4d58f38cd9d5 /drivers/video/fbdev/q40fb.c
parent8e75f7a7a00461ef6d91797a60b606367f6e344d (diff)
downloadlinux-a7582733ef7fa80d8e8a53717e73cf83b6f2152e.tar.xz
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>
Diffstat (limited to 'drivers/video/fbdev/q40fb.c')
-rw-r--r--drivers/video/fbdev/q40fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/q40fb.c b/drivers/video/fbdev/q40fb.c
index 04ea330ccf5d..0b93aa964d43 100644
--- a/drivers/video/fbdev/q40fb.c
+++ b/drivers/video/fbdev/q40fb.c
@@ -36,7 +36,7 @@ static struct fb_fix_screeninfo q40fb_fix = {
.accel = FB_ACCEL_NONE,
};
-static struct fb_var_screeninfo q40fb_var = {
+static const struct fb_var_screeninfo q40fb_var = {
.xres = 1024,
.yres = 512,
.xres_virtual = 1024,