kernel/drivers/video/fbdev/dnfb.c
.. .. @@ -1,3 +1,4 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 #include <linux/kernel.h> 2 3 #include <linux/errno.h> 3 4 #include <linux/string.h> .. .. @@ -107,7 +108,7 @@ 107 108 static int dnfb_blank(int blank, struct fb_info *info); 108 109 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area); 109 110 110 -static struct fb_ops dn_fb_ops = {111 +static const struct fb_ops dn_fb_ops = {111 112 .owner = THIS_MODULE, 112 113 .fb_blank = dnfb_blank, 113 114 .fb_fillrect = cfb_fillrect,