fbdev: i810: make fb_ops const

Make the structure 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
8bf25ead 6ff10485

+1 -1
+1 -1
drivers/video/fbdev/i810/i810_main.c
··· 1542 1542 return 0; 1543 1543 } 1544 1544 1545 - static struct fb_ops i810fb_ops = { 1545 + static const struct fb_ops i810fb_ops = { 1546 1546 .owner = THIS_MODULE, 1547 1547 .fb_open = i810fb_open, 1548 1548 .fb_release = i810fb_release,