summaryrefslogtreecommitdiffstats
path: root/samples/vfio-mdev/mdpy-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/vfio-mdev/mdpy-fb.c')
-rw-r--r--samples/vfio-mdev/mdpy-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/vfio-mdev/mdpy-fb.c b/samples/vfio-mdev/mdpy-fb.c
index 2719bb259653..21dbf63d6e41 100644
--- a/samples/vfio-mdev/mdpy-fb.c
+++ b/samples/vfio-mdev/mdpy-fb.c
@@ -86,7 +86,7 @@ static void mdpy_fb_destroy(struct fb_info *info)
iounmap(info->screen_base);
}
-static struct fb_ops mdpy_fb_ops = {
+static const struct fb_ops mdpy_fb_ops = {
.owner = THIS_MODULE,
.fb_destroy = mdpy_fb_destroy,
.fb_setcolreg = mdpy_fb_setcolreg,