hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/w1/slaves/w1_ds2433.c
....@@ -1,10 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * w1_ds2433.c - w1 family 23 (DS2433) driver
34 *
45 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com>
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>
....@@ -290,7 +288,7 @@
290288 #endif /* CONFIG_W1_SLAVE_DS2433_CRC */
291289 }
292290
293
-static struct w1_family_ops w1_f23_fops = {
291
+static const struct w1_family_ops w1_f23_fops = {
294292 .add_slave = w1_f23_add_slave,
295293 .remove_slave = w1_f23_remove_slave,
296294 .groups = w1_f23_groups,