summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/pmag-ba-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/pmag-ba-fb.c')
-rw-r--r--drivers/video/fbdev/pmag-ba-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/pmag-ba-fb.c b/drivers/video/fbdev/pmag-ba-fb.c
index 56b912bb28de..a60e56d8980b 100644
--- a/drivers/video/fbdev/pmag-ba-fb.c
+++ b/drivers/video/fbdev/pmag-ba-fb.c
@@ -117,7 +117,7 @@ static int pmagbafb_setcolreg(unsigned int regno, unsigned int red,
return 0;
}
-static struct fb_ops pmagbafb_ops = {
+static const struct fb_ops pmagbafb_ops = {
.owner = THIS_MODULE,
.fb_setcolreg = pmagbafb_setcolreg,
.fb_fillrect = cfb_fillrect,