diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-19 15:00:46 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 11:11:14 -0700 |
commit | b0af24b523c21c918eb64541df4450b9da7ed195 (patch) | |
tree | 2aa328815ac36076b5c65403f7ca116a6dce3ff4 /drivers/clk/socfpga/clk-pll.c | |
parent | fdb94059d89aab102b4debc30e77f0b5521f8148 (diff) | |
download | op-kernel-dev-b0af24b523c21c918eb64541df4450b9da7ed195.zip op-kernel-dev-b0af24b523c21c918eb64541df4450b9da7ed195.tar.gz |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/socfpga/clk-pll.c b/drivers/clk/socfpga/clk-pll.c index 8f26b52..c7f4631 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> |