summaryrefslogtreecommitdiff
path: root/drivers/clk/hisilicon
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-07 16:54:08 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-06-21 03:45:13 +0300
commitb62c190f80342f76e3d1e9ebbe16f580a21cc64b (patch)
treee09ae88149edb20bf7138cec6a3f28e08108e1f1 /drivers/clk/hisilicon
parentc895db85f7d8d3a5a5ba38a79592c0962a72c41b (diff)
downloadlinux-b62c190f80342f76e3d1e9ebbe16f580a21cc64b.tar.xz
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? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/hisilicon')
-rw-r--r--drivers/clk/hisilicon/clkdivider-hi6220.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/hisilicon/clkdivider-hi6220.c b/drivers/clk/hisilicon/clkdivider-hi6220.c
index 113eee8ed23a..a1c1f684ad58 100644
--- a/drivers/clk/hisilicon/clkdivider-hi6220.c
+++ b/drivers/clk/hisilicon/clkdivider-hi6220.c
@@ -18,6 +18,8 @@
#include <linux/err.h>
#include <linux/spinlock.h>
+#include "clk.h"
+
#define div_mask(width) ((1 << (width)) - 1)
/**