summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mediatek/clk-mtk.h
diff options
context:
space:
mode:
authorJames Liao <jamesjj.liao@mediatek.com>2015-07-28 08:53:29 +0200
committerJames Liao <jamesjj.liao@mediatek.com>2015-10-01 06:04:49 +0200
commit07d130698b8e1ecf1a72d294b5f89a26fea1ec6f (patch)
tree4b8d87a7f2b1cc3e6e91977a03dd96aefca7410f /drivers/clk/mediatek/clk-mtk.h
parentclk: mediatek: Removed unused dpi_ck clock from MT8173 (diff)
downloadlinux-07d130698b8e1ecf1a72d294b5f89a26fea1ec6f.tar.xz
linux-07d130698b8e1ecf1a72d294b5f89a26fea1ec6f.zip
clk: mediatek: Remove unused code from MT8173.
Remove unused header files from MT8173, and remove unused keywords from function declaration. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mtk.h')
-rw-r--r--drivers/clk/mediatek/clk-mtk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h
index c5cbecb3d218..9f1982059cff 100644
--- a/drivers/clk/mediatek/clk-mtk.h
+++ b/drivers/clk/mediatek/clk-mtk.h
@@ -42,7 +42,7 @@ struct mtk_fixed_factor {
.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);
struct mtk_composite {
@@ -159,7 +159,7 @@ struct mtk_pll_data {
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,
struct clk_onecell_data *clk_data);