浏览代码

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>
Ben Dooks 9 年之前
父节点
当前提交
b62c190f80
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/clk/hisilicon/clkdivider-hi6220.c

+ 2 - 0
drivers/clk/hisilicon/clkdivider-hi6220.c

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