forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/w1/slaves/w1_ds2438.c
....@@ -1,10 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * 1-Wire implementation for the ds2438 chip
34 *
45 * Copyright (c) 2017 Mariusz Bialonczyk <manio@skyboo.net>
5
- *
6
- * This source code is licensed under the GNU General Public License,
7
- * Version 2. See the file COPYING for more details.
86 */
97
108 #include <linux/kernel.h>
....@@ -414,7 +412,7 @@
414412 NULL,
415413 };
416414
417
-static struct w1_family_ops w1_ds2438_fops = {
415
+static const struct w1_family_ops w1_ds2438_fops = {
418416 .groups = w1_ds2438_groups,
419417 };
420418