.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2017 Chen-Yu Tsai. All rights reserved. |
---|
3 | | - * |
---|
4 | | - * This software is licensed under the terms of the GNU General Public |
---|
5 | | - * License version 2, as published by the Free Software Foundation, and |
---|
6 | | - * may be copied, distributed, and modified under those terms. |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope that it will be useful, |
---|
9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
11 | | - * GNU General Public License for more details. |
---|
12 | 4 | */ |
---|
13 | 5 | |
---|
14 | 6 | #include <linux/clk-provider.h> |
---|
15 | 7 | #include <linux/clk/sunxi-ng.h> |
---|
| 8 | +#include <linux/io.h> |
---|
16 | 9 | |
---|
17 | 10 | #include "ccu_common.h" |
---|
18 | 11 | |
---|
.. | .. |
---|
50 | 43 | EXPORT_SYMBOL_GPL(sunxi_ccu_set_mmc_timing_mode); |
---|
51 | 44 | |
---|
52 | 45 | /** |
---|
53 | | - * sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode |
---|
| 46 | + * sunxi_ccu_get_mmc_timing_mode: Get the current MMC clock timing mode |
---|
54 | 47 | * @clk: clock to query |
---|
55 | 48 | * |
---|
56 | 49 | * Returns 0 if the clock is in old timing mode, > 0 if it is in |
---|