diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-20 01:00:46 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 20:52:57 +0300 |
commit | aa1a7fc4a9203d4b53d41d0e60ac774d83c666fb (patch) | |
tree | c7eae54d4306a9dd2a651762a35bcdd5b725a1f1 /drivers/clk/clk-nomadik.c | |
parent | e715e2b1a67be39c8026cb6d77563774f989ba90 (diff) | |
download | linux-aa1a7fc4a9203d4b53d41d0e60ac774d83c666fb.tar.xz |
clk: nomadik: 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. This driver also includes clkdev.h even though
it isn't used, so drop it too and add slab.h to make sure
everything still compiles.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-nomadik.c')
-rw-r--r-- | drivers/clk/clk-nomadik.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index c9487179f25f..e4d8a991c58f 100644 --- a/drivers/clk/clk-nomadik.c +++ b/drivers/clk/clk-nomadik.c @@ -8,8 +8,7 @@ #define pr_fmt(fmt) "Nomadik SRC clocks: " fmt #include <linux/bitops.h> -#include <linux/clk.h> -#include <linux/clkdev.h> +#include <linux/slab.h> #include <linux/err.h> #include <linux/io.h> #include <linux/clk-provider.h> |