| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * w1_ds2431.c - w1 family 2d (DS2431) driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2008 Bernhard Weirich <bernhard.weirich@riedel.net> |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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. |
|---|
| 10 | 8 | */ |
|---|
| 11 | 9 | |
|---|
| 12 | 10 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 280 | 278 | NULL, |
|---|
| 281 | 279 | }; |
|---|
| 282 | 280 | |
|---|
| 283 | | -static struct w1_family_ops w1_f2d_fops = { |
|---|
| 281 | +static const struct w1_family_ops w1_f2d_fops = { |
|---|
| 284 | 282 | .groups = w1_f2d_groups, |
|---|
| 285 | 283 | }; |
|---|
| 286 | 284 | |
|---|