Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1482953 > unrolled thread
| Started by | Baoyou Xie <baoyou.xie@linaro.org> |
|---|---|
| First post | 2016-09-14 08:30 +0200 |
| Last post | 2016-09-14 20:20 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
[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
| From | Baoyou Xie <baoyou.xie@linaro.org> |
|---|---|
| Date | 2016-09-14 08:30 +0200 |
| Subject | [PATCH] clk: mmp: add missing header dependencies |
| Message-ID | <shbRL-5F6-3@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2016-09-14 09:50 +0200 |
| Message-ID | <shd7c-6oH-41@gated-at.bofh.it> |
| In reply to | #1482953 |
On Wednesday, September 14, 2016 2:23:28 PM CEST Baoyou Xie wrote: > 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>
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2016-09-14 20:20 +0200 |
| Message-ID | <shmWR-4ek-5@gated-at.bofh.it> |
| In reply to | #1482953 |
On 09/14, Baoyou Xie wrote: > 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> > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web