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>
This commit is contained in:
parent
7588f1ecc5
commit
6ff1048526
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue