clk: mmp: add missing header dependencies
authorBaoyou Xie <baoyou.xie@linaro.org>
Wed, 14 Sep 2016 06:23:28 +0000 (14:23 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 14 Sep 2016 18:16:59 +0000 (11:16 -0700)
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>
drivers/clk/mmp/clk-mmp2.c

index 383f6a4f64f093258e60ea725197125a5e0f07fc..038023483b98fe1f4d2cbed08f8a6525e7360d53 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/err.h>
+#include <linux/clk/mmp.h>
 
 #include "clk.h"