mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 20:46:44 +07:00
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>
This commit is contained in:
parent
6ff1048526
commit
8bf25eadb3
@ -1542,7 +1542,7 @@ static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct fb_ops i810fb_ops = {
|
||||
static const struct fb_ops i810fb_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
.fb_open = i810fb_open,
|
||||
.fb_release = i810fb_release,
|
||||
|
Loading…
Reference in New Issue
Block a user