diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-20 00:00:46 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 19:52:57 +0200 |
commit | aa1a7fc4a9203d4b53d41d0e60ac774d83c666fb (patch) | |
tree | c7eae54d4306a9dd2a651762a35bcdd5b725a1f1 /drivers | |
parent | clk: mux: Remove clk.h include (diff) | |
download | linux-aa1a7fc4a9203d4b53d41d0e60ac774d83c666fb.tar.xz linux-aa1a7fc4a9203d4b53d41d0e60ac774d83c666fb.zip |
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')
-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> |