summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-08-30 21:18:00 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-09-27 08:57:50 +0200
commit355bb165cd8bad2500df37437a9121f0177b6741 (patch)
treecf7b71fff17c07a4ff41f29d36adcd8e5b87e63f /include
parente59c5371fb9d8268d1c043172e88cecab9dc934f (diff)
downloadblackbird-op-linux-355bb165cd8bad2500df37437a9121f0177b6741.tar.gz
blackbird-op-linux-355bb165cd8bad2500df37437a9121f0177b6741.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk-provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 201a6195a3eb..69b20d4c1e1a 100644
--- a/include/linux/clk-provider.h
+++ b/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
OpenPOWER on IntegriCloud