Commit 07d13069 authored by James Liao's avatar James Liao

clk: mediatek: Remove unused code from MT8173.

Remove unused header files from MT8173, and remove unused
keywords from function declaration.
Signed-off-by: default avatarJames Liao <jamesjj.liao@mediatek.com>
Reviewed-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
parent 829f4912
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/slab.h>
#include <linux/mfd/syscon.h>
#include "clk-mtk.h" #include "clk-mtk.h"
#include "clk-gate.h" #include "clk-gate.h"
......
...@@ -42,7 +42,7 @@ struct mtk_fixed_factor { ...@@ -42,7 +42,7 @@ struct mtk_fixed_factor {
.div = _div, \ .div = _div, \
} }
extern void mtk_clk_register_factors(const struct mtk_fixed_factor *clks, void mtk_clk_register_factors(const struct mtk_fixed_factor *clks,
int num, struct clk_onecell_data *clk_data); int num, struct clk_onecell_data *clk_data);
struct mtk_composite { struct mtk_composite {
...@@ -159,7 +159,7 @@ struct mtk_pll_data { ...@@ -159,7 +159,7 @@ struct mtk_pll_data {
const struct mtk_pll_div_table *div_table; const struct mtk_pll_div_table *div_table;
}; };
void __init mtk_clk_register_plls(struct device_node *node, void mtk_clk_register_plls(struct device_node *node,
const struct mtk_pll_data *plls, int num_plls, const struct mtk_pll_data *plls, int num_plls,
struct clk_onecell_data *clk_data); struct clk_onecell_data *clk_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment