Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1482953
| From | Baoyou Xie <baoyou.xie@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] clk: mmp: add missing header dependencies |
| Date | 2016-09-14 08:30 +0200 |
| Message-ID | <shbRL-5F6-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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> --- drivers/clk/mmp/clk-mmp2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/mmp/clk-mmp2.c b/drivers/clk/mmp/clk-mmp2.c index 383f6a4..0380234 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" -- 2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] clk: mmp: add missing header dependencies Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-14 08:30 +0200 Re: [PATCH] clk: mmp: add missing header dependencies Arnd Bergmann <arnd@arndb.de> - 2016-09-14 09:50 +0200 Re: [PATCH] clk: mmp: add missing header dependencies Stephen Boyd <sboyd@codeaurora.org> - 2016-09-14 20:20 +0200
csiph-web