]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: Remove clk.h from clk-provider.h
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 23 Jun 2015 00:13:49 +0000 (17:13 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 20 Jul 2015 18:11:42 +0000 (11:11 -0700)
Remove clk.h from clk-provider.h so that we can clearly split clk
providers from clk consumers. This will allow us to quickly
detect when clock providers are using the consumer APIs by
looking at the includes.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
include/linux/clk-provider.h

index 78842f46f152694906e0b73f99fd2aa93611e2f7..36fa555ff43138ea7532d4f7a3e97c2d3a7a7839 100644 (file)
@@ -11,7 +11,6 @@
 #ifndef __LINUX_CLK_PROVIDER_H
 #define __LINUX_CLK_PROVIDER_H
 
-#include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/of.h>
 
@@ -33,6 +32,7 @@
 #define CLK_GET_ACCURACY_NOCACHE BIT(8) /* do not use the cached clk accuracy */
 #define CLK_RECALC_NEW_RATES   BIT(9) /* recalc rates after notifications */
 
+struct clk;
 struct clk_hw;
 struct clk_core;
 struct dentry;