summaryrefslogtreecommitdiffstats
path: root/drivers/clk/socfpga/clk-pll.c
diff options
context:
space:
mode:
authorStephen Boyd2015-06-20 00:00:46 +0200
committerStephen Boyd2015-07-20 20:11:14 +0200
commitb0af24b523c21c918eb64541df4450b9da7ed195 (patch)
tree2aa328815ac36076b5c65403f7ca116a6dce3ff4 /drivers/clk/socfpga/clk-pll.c
parentclk: sirf: Properly include clk.h (diff)
downloadkernel-qcow2-linux-b0af24b523c21c918eb64541df4450b9da7ed195.tar.gz
kernel-qcow2-linux-b0af24b523c21c918eb64541df4450b9da7ed195.tar.xz
kernel-qcow2-linux-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-pll.c')
-rw-r--r--drivers/clk/socfpga/clk-pll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/socfpga/clk-pll.c b/drivers/clk/socfpga/clk-pll.c
index 8f26b5234947..c7f463172e4b 100644
--- a/drivers/clk/socfpga/clk-pll.c
+++ b/drivers/clk/socfpga/clk-pll.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/of.h>