diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-20 01:00:46 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 21:11:20 +0300 |
commit | 6d31e3b22e131f5aa5c9d6407ea46fec2134f986 (patch) | |
tree | 93d121bcdd43ccf2602127871d5b60d6b3c895e2 /drivers/clk/versatile/clk-icst.c | |
parent | a162ca912cf792073b0b2450377fd1cd5d5c6cb5 (diff) | |
download | linux-6d31e3b22e131f5aa5c9d6407ea46fec2134f986.tar.xz |
clk: versatile: 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. Also remove clkdev.h in files that aren't using
it and replace them with slab.h in files that were relying on the
implicit include of slab.h in clkdev.h.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/versatile/clk-icst.c')
-rw-r--r-- | drivers/clk/versatile/clk-icst.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/clk/versatile/clk-icst.c b/drivers/clk/versatile/clk-icst.c index bc96f103bd7c..a3893ea2199d 100644 --- a/drivers/clk/versatile/clk-icst.c +++ b/drivers/clk/versatile/clk-icst.c @@ -13,8 +13,9 @@ * ICST clock code from the ARM tree should probably be merged into this * file. */ -#include <linux/clk.h> -#include <linux/clkdev.h> +#include <linux/kernel.h> +#include <linux/slab.h> +#include <linux/export.h> #include <linux/err.h> #include <linux/clk-provider.h> #include <linux/io.h> |