summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mxs/clk-ref.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-20 00:00:46 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 20:11:07 +0200
commitbb0bf354524d10097271fb26bd92a55c67c0304d (patch)
tree70906800a4165c6ef01923392ae1238134ca6e2c /drivers/clk/mxs/clk-ref.c
parentclk: mvebu: Remove clk.h include (diff)
downloadlinux-bb0bf354524d10097271fb26bd92a55c67c0304d.tar.xz
linux-bb0bf354524d10097271fb26bd92a55c67c0304d.zip
clk: mxs: Include clk.h in C files that use it
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. The clk.h include is being included in all mxs files because it's part of mxs/clk.h even though nothing actually requires it in that file. Move the clk.h include to the C files that are actually using it and remove the clk.h include from the header file. The clkdev.h include isn't used either, so drop it too. Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mxs/clk-ref.c')
-rw-r--r--drivers/clk/mxs/clk-ref.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/mxs/clk-ref.c b/drivers/clk/mxs/clk-ref.c
index 4adeed6c2f94..495f99b7965e 100644
--- a/drivers/clk/mxs/clk-ref.c
+++ b/drivers/clk/mxs/clk-ref.c
@@ -9,7 +9,6 @@
* http://www.gnu.org/copyleft/gpl.html
*/
-#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/io.h>