clk: meson8b: 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 17:53:10 +0000 (10:53 -0700)
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include clk.h if it's actually used.

Cc: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/meson/clk-cpu.c
drivers/clk/meson/clkc.c

index 71ad493b94df0cbb344b9e259c0c77304074f143..f7c30ea54ca8d85625b8bc33c5c772dd2700e0dd 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/module.h>
 #include <linux/of_address.h>
 #include <linux/slab.h>
+#include <linux/clk.h>
 #include <linux/clk-provider.h>
 
 #define MESON_CPU_CLK_CNTL1            0x00
index b8c511c5e7a7e4c4aa2d04b94777ec907dd49b2a..c83ae1367abc1791618b858fe3544211c12dfaaf 100644 (file)
@@ -15,7 +15,6 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <linux/clk.h>
 #include <linux/clk-provider.h>
 #include <linux/mfd/syscon.h>
 #include <linux/slab.h>