summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mmp
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-09-14 08:23:28 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-09-14 20:16:59 +0200
commit344dcc02b0578bb3f2523aaa54d7f33730c7f5af (patch)
treee13d3846fe7268416714032557811ed056626582 /drivers/clk/mmp
parentMerge tag 'clk-renesas-for-v4.9-tag3' of git://git.kernel.org/pub/scm/linux/k... (diff)
downloadlinux-344dcc02b0578bb3f2523aaa54d7f33730c7f5af.tar.xz
linux-344dcc02b0578bb3f2523aaa54d7f33730c7f5af.zip
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"