.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * w1_ds28e04.c - w1 family 1C (DS28E04) driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2012 Markus Franke <franke.m@sebakmt.com> |
---|
5 | | - * |
---|
6 | | - * This source code is licensed under the GNU General Public License, |
---|
7 | | - * Version 2. See the file COPYING for more details. |
---|
8 | 6 | */ |
---|
9 | 7 | |
---|
10 | 8 | #include <linux/kernel.h> |
---|
.. | .. |
---|
398 | 396 | sl->family_data = NULL; |
---|
399 | 397 | } |
---|
400 | 398 | |
---|
401 | | -static struct w1_family_ops w1_f1C_fops = { |
---|
| 399 | +static const struct w1_family_ops w1_f1C_fops = { |
---|
402 | 400 | .add_slave = w1_f1C_add_slave, |
---|
403 | 401 | .remove_slave = w1_f1C_remove_slave, |
---|
404 | 402 | .groups = w1_f1C_groups, |
---|