summaryrefslogtreecommitdiff
path: root/drivers/clk/mmp
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-09-14 09:23:28 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-09-14 21:16:59 +0300
commit344dcc02b0578bb3f2523aaa54d7f33730c7f5af (patch)
treee13d3846fe7268416714032557811ed056626582 /drivers/clk/mmp
parent209370566ef8c38dcea40561db2c46fadb0078ce (diff)
downloadlinux-344dcc02b0578bb3f2523aaa54d7f33730c7f5af.tar.xz
clk: mmp: add missing header dependencies
We get 1 warning when building kernel with W=1: drivers/clk/mmp/clk-mmp2.c:75:13: warning: no previous prototype for 'mmp2_clk_init' [-Wmissing-prototypes] In fact, this function is declared in linux/clk/mmp.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mmp')
-rw-r--r--drivers/clk/mmp/clk-mmp2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mmp/clk-mmp2.c b/drivers/clk/mmp/clk-mmp2.c
index 383f6a4f64f0..038023483b98 100644
--- a/drivers/clk/mmp/clk-mmp2.c
+++ b/drivers/clk/mmp/clk-mmp2.c
@@ -16,6 +16,7 @@
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/err.h>
+#include <linux/clk/mmp.h>
#include "clk.h"