Browse Source

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>
Baoyou Xie 9 years ago
parent
commit
344dcc02b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/clk/mmp/clk-mmp2.c

+ 1 - 0
drivers/clk/mmp/clk-mmp2.c

@@ -16,6 +16,7 @@
 #include <linux/io.h>
 #include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/delay.h>
 #include <linux/err.h>
 #include <linux/err.h>
+#include <linux/clk/mmp.h>
 
 
 #include "clk.h"
 #include "clk.h"