clk: zynqmp: do not export zynqmp_clk_register_* functions
authorMichael Tretter <m.tretter@pengutronix.de>
Tue, 19 Mar 2019 10:01:45 +0000 (11:01 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 11 Apr 2019 18:33:11 +0000 (11:33 -0700)
The zynqmp_clk_register_* functions are internal functions of the
driver. Only clkc.c uses these functions to register these clocks.
Therefore, there is no need to export these functions.

The gate and pll already don't export their register_* functions.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/zynqmp/clk-mux-zynqmp.c
drivers/clk/zynqmp/divider.c

index 4143f56..0af8f74 100644 (file)
@@ -138,4 +138,3 @@ struct clk_hw *zynqmp_clk_register_mux(const char *name, u32 clk_id,
 
        return hw;
 }
-EXPORT_SYMBOL_GPL(zynqmp_clk_register_mux);
index e146b6f..a621c66 100644 (file)
@@ -221,4 +221,3 @@ struct clk_hw *zynqmp_clk_register_divider(const char *name,
 
        return hw;
 }
-EXPORT_SYMBOL_GPL(zynqmp_clk_register_divider);