clk: Include of.h in clock-provider.h
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 30 Aug 2014 19:18:00 +0000 (21:18 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 27 Sep 2014 06:57:50 +0000 (08:57 +0200)
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>
include/linux/clk-provider.h

index 201a6195a3ebde41ea84d3f17109826bfdb60d8b..69b20d4c1e1ab3ce00d246fff8f5e00efd83cc6f 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/clk.h>
 #include <linux/io.h>
+#include <linux/of.h>
 
 #ifdef CONFIG_COMMON_CLK
 
This page took 0.025184 seconds and 5 git commands to generate.