Skip to contentSkip to conversation

clk: hi6220: fix missing clk.h include

PATCH New Ben Dooks 2 participants 2 messages Jun 7, 2016 – Jun 21, 2016 Common clk

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

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
index 113eee8..a1c1f68 100644
@@ -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
Applied
#1 lore raw

PATCH 1/1 clk: hi6220: fix missing clk.h include

Quoted 7 lines · Ben Dooks

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?

---

Applied to clk-next

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project