hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/video/fbdev/simplefb.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Simplest possible simple frame-buffer driver, as a platform device
34 *
....@@ -9,15 +10,6 @@
910 * Also based on offb.c, which was:
1011 * Copyright (C) 1997 Geert Uytterhoeven
1112 * Copyright (C) 1996 Paul Mackerras
12
- *
13
- * This program is free software; you can redistribute it and/or modify it
14
- * under the terms and conditions of the GNU General Public License,
15
- * version 2, as published by the Free Software Foundation.
16
- *
17
- * This program is distributed in the hope it will be useful, but WITHOUT
18
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
20
- * more details.
2113 */
2214
2315 #include <linux/errno.h>
....@@ -86,7 +78,7 @@
8678 iounmap(info->screen_base);
8779 }
8880
89
-static struct fb_ops simplefb_ops = {
81
+static const struct fb_ops simplefb_ops = {
9082 .owner = THIS_MODULE,
9183 .fb_destroy = simplefb_destroy,
9284 .fb_setcolreg = simplefb_setcolreg,