From: James Liao Date: Tue, 28 Jul 2015 06:53:29 +0000 (+0800) Subject: clk: mediatek: Remove unused code from MT8173. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=07d130698b8e1ecf1a72d294b5f89a26fea1ec6f;p=linux-beck.git 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 Reviewed-by: Daniel Kurtz --- diff --git a/drivers/clk/mediatek/clk-mt8173.c b/drivers/clk/mediatek/clk-mt8173.c index 448e5dc1acd8..63e32fdb660f 100644 --- a/drivers/clk/mediatek/clk-mt8173.c +++ b/drivers/clk/mediatek/clk-mt8173.c @@ -15,8 +15,6 @@ #include #include #include -#include -#include #include "clk-mtk.h" #include "clk-gate.h" 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);