aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-07 09:54:08 -0400
committerStephen Boyd <sboyd@codeaurora.org>2016-06-20 20:45:13 -0400
commitb62c190f80342f76e3d1e9ebbe16f580a21cc64b (patch)
treee09ae88149edb20bf7138cec6a3f28e08108e1f1
parentc895db85f7d8d3a5a5ba38a79592c0962a72c41b (diff)
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>
-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 @@
18#include <linux/err.h> 18#include <linux/err.h>
19#include <linux/spinlock.h> 19#include <linux/spinlock.h>
20 20
21#include "clk.h"
22
21#define div_mask(width) ((1 << (width)) - 1) 23#define div_mask(width) ((1 << (width)) - 1)
22 24
23/** 25/**