]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: versatile: Remove clk.h and clkdev.h includes
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 19 Jun 2015 22:00:46 +0000 (15:00 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 20 Jul 2015 18:11:20 +0000 (11:11 -0700)
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>
drivers/clk/versatile/clk-icst.c
drivers/clk/versatile/clk-impd1.c
drivers/clk/versatile/clk-realview.c
drivers/clk/versatile/clk-sp810.c
drivers/clk/versatile/clk-versatile.c

index bc96f103bd7caac9c95a977bb3c8559d638bbf9b..a3893ea2199dafa5412207711a1d33fca04c287f 100644 (file)
@@ -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>
index 1cc1330dc5709bc1cc24f887349291aeff705200..65c842a21c6243149d8d3740cacbd270792bfa0d 100644 (file)
@@ -7,7 +7,6 @@
  * published by the Free Software Foundation.
  */
 #include <linux/clk-provider.h>
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/err.h>
 #include <linux/io.h>
index c8b523117fb7ed4e971b5582f802cab0fb7c0eee..940cc6f14578b6e6fd1e66fd86584750e77e3c83 100644 (file)
@@ -6,7 +6,6 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/err.h>
 #include <linux/io.h>
index a96dd8e53fdb2d9537a363c480418db859c8c0b1..64b0129a0216f3b8d7bb524b7b1688c9c0228d68 100644 (file)
@@ -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>
index 7a4f8635bd1eb31ce8bbb68e755f124bd5f12f00..71fa5da89afdb44f7b90c929bf39672f7f4047f0 100644 (file)
@@ -8,8 +8,6 @@
  * published by the Free Software Foundation.
  */
 #include <linux/clk-provider.h>
-#include <linux/clk.h>
-#include <linux/clkdev.h>
 #include <linux/err.h>
 #include <linux/of.h>
 #include <linux/of_address.h>