aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-19 18:00:46 -0400
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 14:11:20 -0400
commit6d31e3b22e131f5aa5c9d6407ea46fec2134f986 (patch)
tree93d121bcdd43ccf2602127871d5b60d6b3c895e2
parenta162ca912cf792073b0b2450377fd1cd5d5c6cb5 (diff)
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>
-rw-r--r--drivers/clk/versatile/clk-icst.c5
-rw-r--r--drivers/clk/versatile/clk-impd1.c1
-rw-r--r--drivers/clk/versatile/clk-realview.c1
-rw-r--r--drivers/clk/versatile/clk-sp810.c3
-rw-r--r--drivers/clk/versatile/clk-versatile.c2
5 files changed, 5 insertions, 7 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 @@
13 * ICST clock code from the ARM tree should probably be merged into this 13 * ICST clock code from the ARM tree should probably be merged into this
14 * file. 14 * file.
15 */ 15 */
16#include <linux/clk.h> 16#include <linux/kernel.h>
17#include <linux/clkdev.h> 17#include <linux/slab.h>
18#include <linux/export.h>
18#include <linux/err.h> 19#include <linux/err.h>
19#include <linux/clk-provider.h> 20#include <linux/clk-provider.h>
20#include <linux/io.h> 21#include <linux/io.h>
diff --git a/drivers/clk/versatile/clk-impd1.c b/drivers/clk/versatile/clk-impd1.c
index 1cc1330dc570..65c842a21c62 100644
--- a/drivers/clk/versatile/clk-impd1.c
+++ b/drivers/clk/versatile/clk-impd1.c
@@ -7,7 +7,6 @@
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 */ 8 */
9#include <linux/clk-provider.h> 9#include <linux/clk-provider.h>
10#include <linux/clk.h>
11#include <linux/clkdev.h> 10#include <linux/clkdev.h>
12#include <linux/err.h> 11#include <linux/err.h>
13#include <linux/io.h> 12#include <linux/io.h>
diff --git a/drivers/clk/versatile/clk-realview.c b/drivers/clk/versatile/clk-realview.c
index c8b523117fb7..940cc6f14578 100644
--- a/drivers/clk/versatile/clk-realview.c
+++ b/drivers/clk/versatile/clk-realview.c
@@ -6,7 +6,6 @@
6 * it under the terms of the GNU General Public License version 2 as 6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 */ 8 */
9#include <linux/clk.h>
10#include <linux/clkdev.h> 9#include <linux/clkdev.h>
11#include <linux/err.h> 10#include <linux/err.h>
12#include <linux/io.h> 11#include <linux/io.h>
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 @@
12 */ 12 */
13 13
14#include <linux/amba/sp810.h> 14#include <linux/amba/sp810.h>
15#include <linux/clkdev.h> 15#include <linux/slab.h>
16#include <linux/clk.h>
16#include <linux/clk-provider.h> 17#include <linux/clk-provider.h>
17#include <linux/err.h> 18#include <linux/err.h>
18#include <linux/of.h> 19#include <linux/of.h>
diff --git a/drivers/clk/versatile/clk-versatile.c b/drivers/clk/versatile/clk-versatile.c
index 7a4f8635bd1e..71fa5da89afd 100644
--- a/drivers/clk/versatile/clk-versatile.c
+++ b/drivers/clk/versatile/clk-versatile.c
@@ -8,8 +8,6 @@
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
9 */ 9 */
10#include <linux/clk-provider.h> 10#include <linux/clk-provider.h>
11#include <linux/clk.h>
12#include <linux/clkdev.h>
13#include <linux/err.h> 11#include <linux/err.h>
14#include <linux/of.h> 12#include <linux/of.h>
15#include <linux/of_address.h> 13#include <linux/of_address.h>