Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1209089 > unrolled thread

[PATCH] clk: Add missing header for 'bool' definition to clk-conf.h

Started byChen-Yu Tsai <wens@csie.org>
First post2015-08-18 09:20 +0200
Last post2015-08-18 09:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h Chen-Yu Tsai <wens@csie.org> - 2015-08-18 09:20 +0200

#1209089 — [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h

FromChen-Yu Tsai <wens@csie.org>
Date2015-08-18 09:20 +0200
Subject[PATCH] clk: Add missing header for 'bool' definition to clk-conf.h
Message-ID<pYJlE-7Ap-31@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web