summaryrefslogtreecommitdiff
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-08-30 23:18:00 +0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-09-27 10:57:50 +0400
commit355bb165cd8bad2500df37437a9121f0177b6741 (patch)
treecf7b71fff17c07a4ff41f29d36adcd8e5b87e63f /include/linux/clk-provider.h
parente59c5371fb9d8268d1c043172e88cecab9dc934f (diff)
downloadlinux-355bb165cd8bad2500df37437a9121f0177b6741.tar.xz
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/linux/clk-provider.h')
-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