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-sp810.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-sp810.c')
-rw-r--r-- | drivers/clk/versatile/clk-sp810.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/versatile/clk-sp810.c b/drivers/clk/versatile/clk-sp810.c index a96dd8e53fdb..64b0129a0216 100644 --- a/drivers/clk/versatile/clk-sp810.c +++ b/drivers/clk/versatile/clk-sp810.c @@ -12,7 +12,8 @@ */ #include <linux/amba/sp810.h> -#include <linux/clkdev.h> +#include <linux/slab.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/err.h> #include <linux/of.h> |