.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2017 Sanechips Technology Co., Ltd. |
---|
3 | 4 | * Copyright 2017 Linaro 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 version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | 5 | */ |
---|
9 | 6 | |
---|
10 | 7 | #include <linux/clk.h> |
---|
.. | .. |
---|
151 | 148 | } |
---|
152 | 149 | |
---|
153 | 150 | static int zx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, |
---|
154 | | - struct pwm_state *state) |
---|
| 151 | + const struct pwm_state *state) |
---|
155 | 152 | { |
---|
156 | 153 | struct zx_pwm_chip *zpc = to_zx_pwm_chip(chip); |
---|
157 | 154 | struct pwm_state cstate; |
---|