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>

authored by

Bhumika Goyal and committed by
Bartlomiej Zolnierkiewicz
6ff10485 7588f1ec

+1 -1
+1 -1
drivers/video/fbdev/matrox/matroxfb_base.c
··· 1198 1198 return 0; 1199 1199 } 1200 1200 1201 - static struct fb_ops matroxfb_ops = { 1201 + static const struct fb_ops matroxfb_ops = { 1202 1202 .owner = THIS_MODULE, 1203 1203 .fb_open = matroxfb_open, 1204 1204 .fb_release = matroxfb_release,