diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-10-12 18:18:23 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-10-12 18:18:23 +0200 |
commit | 3961e9ac3a4546a1022988cc93aec0dc29b513de (patch) | |
tree | c67287290ab85aa91e7259b05d8f936a804d12bc /drivers/video/fbdev/dnfb.c | |
parent | b90b3eca16b7ba6f42df35c029b674f1a00b0c69 (diff) | |
download | linux-3961e9ac3a4546a1022988cc93aec0dc29b513de.tar.bz2 |
video: fbdev: dnfb: make fb_var_screeninfo static and const
Make this structure static as it is not referenced in any other
file. Make it const as it is used only during a copy operation.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
[b.zolnierkie: split from combined patch]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/dnfb.c')
-rw-r--r-- | drivers/video/fbdev/dnfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/dnfb.c b/drivers/video/fbdev/dnfb.c index 7b1492d34e98..09415009d797 100644 --- a/drivers/video/fbdev/dnfb.c +++ b/drivers/video/fbdev/dnfb.c @@ -115,7 +115,7 @@ static struct fb_ops dn_fb_ops = { .fb_imageblit = cfb_imageblit, }; -struct fb_var_screeninfo dnfb_var = { +static const struct fb_var_screeninfo dnfb_var = { .xres = 1280, .yres = 1024, .xres_virtual = 2048, |