forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/video/fbdev/tmiofb.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Frame Buffer Device for Toshiba Mobile IO(TMIO) controller
34 *
....@@ -8,15 +9,6 @@
89 * Based on:
910 * drivers/video/w100fb.c
1011 * code written by Sharp/Lineo for 2.4 kernels
11
- *
12
- * This program is free software; you can redistribute it and/or modify
13
- * it under the terms of the GNU General Public License version 2
14
- * as published by the Free Software Foundation;
15
- *
16
- * This program is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU General Public License for more details.
2012 */
2113
2214 #include <linux/kernel.h>
....@@ -654,7 +646,7 @@
654646 return 0;
655647 }
656648
657
-static struct fb_ops tmiofb_ops = {
649
+static const struct fb_ops tmiofb_ops = {
658650 .owner = THIS_MODULE,
659651
660652 .fb_ioctl = tmiofb_ioctl,