]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: sirf: Properly include clk.h
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:13 +0000 (11:11 -0700)
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Move the include of clk.h into
clk-common.c because that's the only file that's really using
clk.h, even if it's included into the atlas6 and prima2 files.

Cc: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sirf/clk-atlas6.c
drivers/clk/sirf/clk-common.c
drivers/clk/sirf/clk-prima2.c

index d63b76ca60c311edd1dcb66ef35d364e0cb27247..c5eaa9d1624760f6db1347cdbeaf44c7b97a2049 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/module.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/of_address.h>
index 9fc285d784d3faa4b78eac774cc466b989b8d667..2f64d4beeb527567368170ef93eb5e2b58a23d1b 100644 (file)
@@ -7,6 +7,8 @@
  * Licensed under GPLv2 or later.
  */
 
+#include <linux/clk.h>
+
 #define KHZ     1000
 #define MHZ     (KHZ * KHZ)
 
index 6968e2ebcd8a4d09959d02b2edbf5ffe19e7b9da..f92c40264342574af6fbf2af02de0e3db4236602 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/module.h>
 #include <linux/bitops.h>
 #include <linux/io.h>
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/of_address.h>