summaryrefslogtreecommitdiff
path: root/drivers/clk/mmp/clk.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-19 15:00:46 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 10:53:12 -0700
commit528b76976fd22d65a07e244ec8996de492941408 (patch)
treea8599b274870f84937f14b2e46437dbfd6e9fadd /drivers/clk/mmp/clk.c
parentc0eb1dfffc74d34277116842001e7677787c04cf (diff)
clk: mmp: Remove clk.h include
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. The clkdev.h include isn't used either, so drop it and add in slab.h to keep things compiling. Cc: Chao Xie <chao.xie@marvell.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mmp/clk.c')
-rw-r--r--drivers/clk/mmp/clk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/mmp/clk.c b/drivers/clk/mmp/clk.c
index cf038ef54c59..61893fe73251 100644
--- a/drivers/clk/mmp/clk.c
+++ b/drivers/clk/mmp/clk.c
@@ -1,7 +1,6 @@
#include <linux/io.h>
-#include <linux/clk.h>
#include <linux/clk-provider.h>
-#include <linux/clkdev.h>
+#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_address.h>