clk: zynqmp: Mark zynqmp_clk_get_max_divisor() static
Subsystems (2)
Stephen Boyd
maintainerPATCH 1/1 clk: zynqmp: Mark zynqmp_clk_get_max_divisor() static
This function isn't used outside this file. Mark it static to silence sparse.
Cc Jolly Shah <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/zynqmp/divider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/zynqmp/divider.c +1 -1
@@ -266,7 +266,7 @@ static const struct clk_ops zynqmp_clk_divider_ops = {* Return: Maximum divisor of a clock if query data is successful * U16_MAX in case of query data is not success */ -u32 zynqmp_clk_get_max_divisor (u32 clk_id,u32 type) +static u32 zynqmp_clk_get_max_divisor (u32 clk_id,u32 type) {const struct zynqmp_eemi_ops *eemi_ops =zynqmp_pm_get_eemi_ops ();struct zynqmp_pm_query_data qdata = {0 };
base-commit: 2ce7e495dab4647055f6cf300bc66870dc8a7cab
Signature · 1 line
Sent by a computer, using git, on the internet
Quoting Stephen Boyd (2020-05-26 18:00:57)
Quoted 6 lines
This function isn't used outside this file. Mark it static to silence sparse.
Cc Jolly Shah <[email protected]>Signed-off-by Stephen Boyd <[email protected]>---
Applied to clk-next