linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
@ 2015-08-18  7:16 Chen-Yu Tsai
  2015-08-24 21:28 ` Stephen Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Chen-Yu Tsai @ 2015-08-18  7:16 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Chen-Yu Tsai, linux-clk, linux-kernel, stable

of_clk_set_defaults uses the type 'bool', but clk-conf.h does not
include its definition.

This results in a compile error when only clk-conf.h is used.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Cc: stable@vger.kernel.org
---
 include/linux/clk/clk-conf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/clk/clk-conf.h b/include/linux/clk/clk-conf.h
index f3050e15f833..e0c362363c38 100644
--- a/include/linux/clk/clk-conf.h
+++ b/include/linux/clk/clk-conf.h
@@ -7,6 +7,8 @@
  * published by the Free Software Foundation.
  */
 
+#include <linux/types.h>
+
 struct device_node;
 
 #if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK)
-- 
2.5.0


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

end of thread, other threads:[~2015-08-25 17:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18  7:16 [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h Chen-Yu Tsai
2015-08-24 21:28 ` Stephen Boyd
2015-08-25  2:55   ` Chen-Yu Tsai
2015-08-25  6:59     ` Michal Kubecek
2015-08-25  7:41       ` Chen-Yu Tsai
2015-08-25 17:53         ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).