clk: hi6220: fix missing clk.h include
PATCH 1/1 clk: hi6220: fix missing clk.h include
Fix the warning from missing "clk.h" include which defines hi6220_register_clkdiv() function.
drivers/clk/hisilicon/clkdivider-hi6220.c:102:12: warning: symbol 'hi6220_register_clkdiv' was not declared. Should it be static?
---
Cc: Bintian Wang <[email protected]>
Cc: Michael Turquette <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: linux-clk at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
--- drivers/clk/hisilicon/clkdivider-hi6220.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/clk/hisilicon/clkdivider-hi6220.c +2 -0
@@ -18,6 +18,8 @@#include <linux/err.h> #include <linux/spinlock.h> +#include "clk.h" +#define div_mask (width) ((1 << (width)) - 1)/**
Signature · 1 line
2.8.1
Stephen Boyd
AppliedPATCH 1/1 clk: hi6220: fix missing clk.h include
Quoted 7 lines · Ben Dooks
Fix the warning from missing "
clk.h" include which defineshi6220_register_clkdiv()function.
drivers/clk/hisilicon/clkdivider-hi6220.c:102:12: warning: symbol 'hi6220_register_clkdiv' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>---
Applied to clk-next
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project