Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
a8cfe8cfd0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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)