forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/w1/slaves/w1_ds2431.c
....@@ -1,12 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * w1_ds2431.c - w1 family 2d (DS2431) driver
34 *
45 * Copyright (c) 2008 Bernhard Weirich <bernhard.weirich@riedel.net>
56 *
67 * Heavily inspired by w1_DS2433 driver from Ben Gardner <bgardner@wabtec.com>
7
- *
8
- * This source code is licensed under the GNU General Public License,
9
- * Version 2. See the file COPYING for more details.
108 */
119
1210 #include <linux/kernel.h>
....@@ -280,7 +278,7 @@
280278 NULL,
281279 };
282280
283
-static struct w1_family_ops w1_f2d_fops = {
281
+static const struct w1_family_ops w1_f2d_fops = {
284282 .groups = w1_f2d_groups,
285283 };
286284