diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-20 00:00:46 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 20:11:14 +0200 |
commit | b0af24b523c21c918eb64541df4450b9da7ed195 (patch) | |
tree | 2aa328815ac36076b5c65403f7ca116a6dce3ff4 /drivers/clk/socfpga/clk-periph.c | |
parent | clk: sirf: Properly include clk.h (diff) | |
download | linux-b0af24b523c21c918eb64541df4450b9da7ed195.tar.xz 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-periph.c')
-rw-r--r-- | drivers/clk/socfpga/clk-periph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/socfpga/clk-periph.c b/drivers/clk/socfpga/clk-periph.c index 83aeaa219d14..ab9c8164a98f 100644 --- a/drivers/clk/socfpga/clk-periph.c +++ b/drivers/clk/socfpga/clk-periph.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> |