|
@@ -131,7 +131,7 @@ static int clkgena_divmux_is_enabled(struct clk_hw *hw)
|
|
|
return (s8)clk_mux_ops.get_parent(mux_hw) > 0;
|
|
|
}
|
|
|
|
|
|
-u8 clkgena_divmux_get_parent(struct clk_hw *hw)
|
|
|
+static u8 clkgena_divmux_get_parent(struct clk_hw *hw)
|
|
|
{
|
|
|
struct clkgena_divmux *genamux = to_clkgena_divmux(hw);
|
|
|
struct clk_hw *mux_hw = &genamux->mux.hw;
|
|
@@ -168,7 +168,7 @@ static int clkgena_divmux_set_parent(struct clk_hw *hw, u8 index)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-unsigned long clkgena_divmux_recalc_rate(struct clk_hw *hw,
|
|
|
+static unsigned long clkgena_divmux_recalc_rate(struct clk_hw *hw,
|
|
|
unsigned long parent_rate)
|
|
|
{
|
|
|
struct clkgena_divmux *genamux = to_clkgena_divmux(hw);
|
|
@@ -215,7 +215,7 @@ static const struct clk_ops clkgena_divmux_ops = {
|
|
|
/**
|
|
|
* clk_register_genamux - register a genamux clock with the clock framework
|
|
|
*/
|
|
|
-struct clk *clk_register_genamux(const char *name,
|
|
|
+static struct clk *clk_register_genamux(const char *name,
|
|
|
const char **parent_names, u8 num_parents,
|
|
|
void __iomem *reg,
|
|
|
const struct clkgena_divmux_data *muxdata,
|
|
@@ -385,7 +385,7 @@ static void __iomem * __init clkgen_get_register_base(
|
|
|
return reg;
|
|
|
}
|
|
|
|
|
|
-void __init st_of_clkgena_divmux_setup(struct device_node *np)
|
|
|
+static void __init st_of_clkgena_divmux_setup(struct device_node *np)
|
|
|
{
|
|
|
const struct of_device_id *match;
|
|
|
const struct clkgena_divmux_data *data;
|
|
@@ -485,7 +485,7 @@ static const struct of_device_id clkgena_prediv_of_match[] = {
|
|
|
{}
|
|
|
};
|
|
|
|
|
|
-void __init st_of_clkgena_prediv_setup(struct device_node *np)
|
|
|
+static void __init st_of_clkgena_prediv_setup(struct device_node *np)
|
|
|
{
|
|
|
const struct of_device_id *match;
|
|
|
void __iomem *reg;
|
|
@@ -622,7 +622,7 @@ static const struct of_device_id mux_of_match[] = {
|
|
|
{}
|
|
|
};
|
|
|
|
|
|
-void __init st_of_clkgen_mux_setup(struct device_node *np)
|
|
|
+static void __init st_of_clkgen_mux_setup(struct device_node *np)
|
|
|
{
|
|
|
const struct of_device_id *match;
|
|
|
struct clk *clk;
|
|
@@ -699,7 +699,7 @@ static const struct of_device_id vcc_of_match[] = {
|
|
|
{}
|
|
|
};
|
|
|
|
|
|
-void __init st_of_clkgen_vcc_setup(struct device_node *np)
|
|
|
+static void __init st_of_clkgen_vcc_setup(struct device_node *np)
|
|
|
{
|
|
|
const struct of_device_id *match;
|
|
|
void __iomem *reg;
|