| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * w1_ds2433.c - w1 family 23 (DS2433) driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 8 | 6 | */ |
|---|
| 9 | 7 | |
|---|
| 10 | 8 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 290 | 288 | #endif /* CONFIG_W1_SLAVE_DS2433_CRC */ |
|---|
| 291 | 289 | } |
|---|
| 292 | 290 | |
|---|
| 293 | | -static struct w1_family_ops w1_f23_fops = { |
|---|
| 291 | +static const struct w1_family_ops w1_f23_fops = { |
|---|
| 294 | 292 | .add_slave = w1_f23_add_slave, |
|---|
| 295 | 293 | .remove_slave = w1_f23_remove_slave, |
|---|
| 296 | 294 | .groups = w1_f23_groups, |
|---|