浏览代码

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

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>
Chen-Yu Tsai 10 年之前
父节点
当前提交
a8cfe8cfd0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/linux/clk/clk-conf.h

+ 2 - 0
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)