summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/ocfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/ocfb.c')
-rw-r--r--drivers/video/fbdev/ocfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/ocfb.c b/drivers/video/fbdev/ocfb.c
index a970edc2a6f8..c8cee2d890dc 100644
--- a/drivers/video/fbdev/ocfb.c
+++ b/drivers/video/fbdev/ocfb.c
@@ -285,7 +285,7 @@ static int ocfb_init_var(struct ocfb_dev *fbdev)
return 0;
}
-static struct fb_ops ocfb_ops = {
+static const struct fb_ops ocfb_ops = {
.owner = THIS_MODULE,
.fb_setcolreg = ocfb_setcolreg,
.fb_fillrect = cfb_fillrect,