Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06421a78 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

clk: sunxi-ng: nk: Make ccu_nk_find_best static



make C=2 reports:

  CHECK   drivers/clk/sunxi-ng/ccu_nk.c
drivers/clk/sunxi-ng/ccu_nk.c:17:6: warning: symbol 'ccu_nk_find_best' was
not declared. Should it be static?

ccu_nk_find_best is only used within ccu_nk.c. So make it static to get
rid of this warning.

Fixes: adbfb005 ("clk: sunxi-ng: Add N-K-factor clock support")
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 156ad0d7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
#include "ccu_gate.h"
#include "ccu_nk.h"

void ccu_nk_find_best(unsigned long parent, unsigned long rate,
static void ccu_nk_find_best(unsigned long parent, unsigned long rate,
			     unsigned int max_n, unsigned int max_k,
			     unsigned int *n, unsigned int *k)
{