Jelajahi Sumber

clk: Include of.h in clock-provider.h

CLK_OF_DECLARE relies on OF_DECLARE_1 that is defined in of.h. Fixes build
errors when one use CLK_OF_DECLARE but doesn't include of.h

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Maxime Ripard 11 tahun lalu
induk
melakukan
355bb165cd
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      include/linux/clk-provider.h

+ 1 - 0
include/linux/clk-provider.h

@@ -13,6 +13,7 @@
 
 #include <linux/clk.h>
 #include <linux/io.h>
+#include <linux/of.h>
 
 #ifdef CONFIG_COMMON_CLK