hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/w1/slaves/w1_ds28e17.c
....@@ -1,10 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * w1_ds28e17.c - w1 family 19 (DS28E17) driver
34 *
45 * Copyright (c) 2016 Jan Kandziora <jjj@gmx.de>
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/crc16.h>
....@@ -743,7 +741,7 @@
743741
744742
745743 /* Declarations within the w1 subsystem. */
746
-static struct w1_family_ops w1_f19_fops = {
744
+static const struct w1_family_ops w1_f19_fops = {
747745 .add_slave = w1_f19_add_slave,
748746 .remove_slave = w1_f19_remove_slave,
749747 .groups = w1_f19_groups,