All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: mmp: add missing header dependencies
@ 2016-09-14  6:23 Baoyou Xie
  2016-09-14  7:32 ` Arnd Bergmann
  2016-09-14 18:17 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Baoyou Xie @ 2016-09-14  6:23 UTC (permalink / raw)
  To: mturquette, sboyd, arnd; +Cc: linux-clk, linux-kernel, baoyou.xie, xie.baoyou

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: mmp: add missing header dependencies
  2016-09-14  6:23 [PATCH] clk: mmp: add missing header dependencies Baoyou Xie
@ 2016-09-14  7:32 ` Arnd Bergmann
  2016-09-14 18:17 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2016-09-14  7:32 UTC (permalink / raw)
  To: Baoyou Xie; +Cc: mturquette, sboyd, linux-clk, linux-kernel, xie.baoyou

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: mmp: add missing header dependencies
  2016-09-14  6:23 [PATCH] clk: mmp: add missing header dependencies Baoyou Xie
  2016-09-14  7:32 ` Arnd Bergmann
@ 2016-09-14 18:17 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2016-09-14 18:17 UTC (permalink / raw)
  To: Baoyou Xie; +Cc: mturquette, arnd, linux-clk, linux-kernel, xie.baoyou

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-14 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14  6:23 [PATCH] clk: mmp: add missing header dependencies Baoyou Xie
2016-09-14  7:32 ` Arnd Bergmann
2016-09-14 18:17 ` Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.