forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/clk/sunxi-ng/ccu_mmc_timing.c
....@@ -1,18 +1,11 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * 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.
124 */
135
146 #include <linux/clk-provider.h>
157 #include <linux/clk/sunxi-ng.h>
8
+#include <linux/io.h>
169
1710 #include "ccu_common.h"
1811
....@@ -50,7 +43,7 @@
5043 EXPORT_SYMBOL_GPL(sunxi_ccu_set_mmc_timing_mode);
5144
5245 /**
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
5447 * @clk: clock to query
5548 *
5649 * Returns 0 if the clock is in old timing mode, > 0 if it is in