diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-08-30 15:18:00 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-09-27 02:57:50 -0400 |
commit | 355bb165cd8bad2500df37437a9121f0177b6741 (patch) | |
tree | cf7b71fff17c07a4ff41f29d36adcd8e5b87e63f | |
parent | e59c5371fb9d8268d1c043172e88cecab9dc934f (diff) |
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>
-rw-r--r-- | include/linux/clk-provider.h | 1 |
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 @@ | |||
13 | 13 | ||
14 | #include <linux/clk.h> | 14 | #include <linux/clk.h> |
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/of.h> | ||
16 | 17 | ||
17 | #ifdef CONFIG_COMMON_CLK | 18 | #ifdef CONFIG_COMMON_CLK |
18 | 19 | ||