Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bf25ead authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Bartlomiej Zolnierkiewicz
Browse files

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 6ff10485
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1542,7 +1542,7 @@ static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
	return 0;
	return 0;
}
}


static struct fb_ops i810fb_ops = {
static const struct fb_ops i810fb_ops = {
	.owner =             THIS_MODULE,
	.owner =             THIS_MODULE,
	.fb_open =           i810fb_open,
	.fb_open =           i810fb_open,
	.fb_release =        i810fb_release,
	.fb_release =        i810fb_release,