clk: hi6220: fix missing clk.h include
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 7 Jun 2016 13:54:08 +0000 (14:54 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 21 Jun 2016 00:45:13 +0000 (17:45 -0700)
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>
drivers/clk/hisilicon/clkdivider-hi6220.c

index 113eee8..a1c1f68 100644 (file)
@@ -18,6 +18,8 @@
 #include <linux/err.h>
 #include <linux/spinlock.h>
 
+#include "clk.h"
+
 #define div_mask(width)        ((1 << (width)) - 1)
 
 /**