| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2016-2017 Linaro Ltd. |
|---|
| 3 | 4 | * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 7 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 8 | | - * (at your option) any later version. |
|---|
| 9 | 5 | */ |
|---|
| 10 | 6 | #include <linux/kernel.h> |
|---|
| 11 | 7 | #include <linux/mfd/syscon.h> |
|---|
| .. | .. |
|---|
| 60 | 56 | return hi3660_reset_deassert(rcdev, idx); |
|---|
| 61 | 57 | } |
|---|
| 62 | 58 | |
|---|
| 63 | | -static struct reset_control_ops hi3660_reset_ops = { |
|---|
| 59 | +static const struct reset_control_ops hi3660_reset_ops = { |
|---|
| 64 | 60 | .reset = hi3660_reset_dev, |
|---|
| 65 | 61 | .assert = hi3660_reset_assert, |
|---|
| 66 | 62 | .deassert = hi3660_reset_deassert, |
|---|