Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
355bb165cd
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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/clk.h>
 #include <linux/io.h>
 #include <linux/io.h>
+#include <linux/of.h>
 
 
 #ifdef CONFIG_COMMON_CLK
 #ifdef CONFIG_COMMON_CLK