| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 1-Wire implementation for the ds2438 chip |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2017 Mariusz Bialonczyk <manio@skyboo.net> |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 414 | 412 | NULL, |
|---|
| 415 | 413 | }; |
|---|
| 416 | 414 | |
|---|
| 417 | | -static struct w1_family_ops w1_ds2438_fops = { |
|---|
| 415 | +static const struct w1_family_ops w1_ds2438_fops = { |
|---|
| 418 | 416 | .groups = w1_ds2438_groups, |
|---|
| 419 | 417 | }; |
|---|
| 420 | 418 | |
|---|