diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-21 17:49:58 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-08-21 17:49:58 +0300 |
commit | 6ff10485262bf1b9f0e2db4a25287796f6a519c3 (patch) | |
tree | 502f1fbd55a22fcd52072a9232eff1292915c3c4 /drivers/video/fbdev/matrox | |
parent | 7588f1ecc5f0c914e669d8afb6525f47cd1c4355 (diff) | |
download | linux-6ff10485262bf1b9f0e2db4a25287796f6a519c3.tar.xz |
fbdev: matrox: make fb_ops const
Make fb_ops const as it is only used during a copy operation.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/matrox')
-rw-r--r-- | drivers/video/fbdev/matrox/matroxfb_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/matrox/matroxfb_base.c b/drivers/video/fbdev/matrox/matroxfb_base.c index 00ea4e4ab95a..49ef48df44bd 100644 --- a/drivers/video/fbdev/matrox/matroxfb_base.c +++ b/drivers/video/fbdev/matrox/matroxfb_base.c @@ -1198,7 +1198,7 @@ static int matroxfb_blank(int blank, struct fb_info *info) return 0; } -static struct fb_ops matroxfb_ops = { +static const struct fb_ops matroxfb_ops = { .owner = THIS_MODULE, .fb_open = matroxfb_open, .fb_release = matroxfb_release, |