summaryrefslogtreecommitdiffstats
path: root/drivers/clk/socfpga/clk-gate.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 11:11:14 -0700
commitb0af24b523c21c918eb64541df4450b9da7ed195 (patch)
tree2aa328815ac36076b5c65403f7ca116a6dce3ff4 /drivers/clk/socfpga/clk-gate.c
parentfdb94059d89aab102b4debc30e77f0b5521f8148 (diff)
downloadlinux-stable-b0af24b523c21c918eb64541df4450b9da7ed195.tar.gz
linux-stable-b0af24b523c21c918eb64541df4450b9da7ed195.tar.bz2
linux-stable-b0af24b523c21c918eb64541df4450b9da7ed195.zip
clk: socfpga: Remove clk.h and clkdev.h includes
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, remove it and add in slab.h to make sure things keep compiling. Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/socfpga/clk-gate.c')
-rw-r--r--drivers/clk/socfpga/clk-gate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/socfpga/clk-gate.c b/drivers/clk/socfpga/clk-gate.c
index 82449cd76fd7..37e0bb60ac68 100644
--- a/drivers/clk/socfpga/clk-gate.c
+++ b/drivers/clk/socfpga/clk-gate.c
@@ -15,8 +15,7 @@
* Based from clk-highbank.c
*
*/
-#include <linux/clk.h>
-#include <linux/clkdev.h>
+#include <linux/slab.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/mfd/syscon.h>