clk: Add missing header for 'bool' definition to clk-conf.h
authorChen-Yu Tsai <wens@csie.org>
Tue, 18 Aug 2015 07:16:45 +0000 (15:16 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 25 Aug 2015 17:54:06 +0000 (10:54 -0700)
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>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
include/linux/clk/clk-conf.h

index f3050e15f8333ce596388588f6c1dc0c69d3b4d0..e0c362363c385126de1d90eee5e3a432fa363447 100644 (file)
@@ -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)