diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-19 18:00:46 -0400 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 13:53:10 -0400 |
commit | c0eb1dfffc74d34277116842001e7677787c04cf (patch) | |
tree | 76f99cb780e959f5f2b37eab28729f26c83d4110 | |
parent | c726639bbe23ddbfaa6ee1dd7d27175ee4488661 (diff) |
clk: meson8b: Properly include clk.h
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include clk.h if it's actually used.
Cc: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r-- | drivers/clk/meson/clk-cpu.c | 1 | ||||
-rw-r--r-- | drivers/clk/meson/clkc.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/meson/clk-cpu.c b/drivers/clk/meson/clk-cpu.c index 71ad493b94df..f7c30ea54ca8 100644 --- a/drivers/clk/meson/clk-cpu.c +++ b/drivers/clk/meson/clk-cpu.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/module.h> | 35 | #include <linux/module.h> |
36 | #include <linux/of_address.h> | 36 | #include <linux/of_address.h> |
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/clk.h> | ||
38 | #include <linux/clk-provider.h> | 39 | #include <linux/clk-provider.h> |
39 | 40 | ||
40 | #define MESON_CPU_CLK_CNTL1 0x00 | 41 | #define MESON_CPU_CLK_CNTL1 0x00 |
diff --git a/drivers/clk/meson/clkc.c b/drivers/clk/meson/clkc.c index b8c511c5e7a7..c83ae1367abc 100644 --- a/drivers/clk/meson/clkc.c +++ b/drivers/clk/meson/clkc.c | |||
@@ -15,7 +15,6 @@ | |||
15 | * this program. If not, see <http://www.gnu.org/licenses/>. | 15 | * this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/clk.h> | ||
19 | #include <linux/clk-provider.h> | 18 | #include <linux/clk-provider.h> |
20 | #include <linux/mfd/syscon.h> | 19 | #include <linux/mfd/syscon.h> |
21 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |