hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/video/fbdev/clps711x-fb.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Cirrus Logic CLPS711X FB driver
34 *
45 * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
56 * Based on driver by Russell King <rmk@arm.linux.org.uk>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
117 */
128
139 #include <linux/clk.h>
....@@ -157,7 +153,7 @@
157153 return 0;
158154 }
159155
160
-static struct fb_ops clps711x_fb_ops = {
156
+static const struct fb_ops clps711x_fb_ops = {
161157 .owner = THIS_MODULE,
162158 .fb_setcolreg = clps711x_fb_setcolreg,
163159 .fb_check_var = clps711x_fb_check_var,