summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-19 15:00:46 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 10:53:10 -0700
commitc0eb1dfffc74d34277116842001e7677787c04cf (patch)
tree76f99cb780e959f5f2b37eab28729f26c83d4110 /drivers/clk/meson
parentc726639bbe23ddbfaa6ee1dd7d27175ee4488661 (diff)
downloadop-kernel-dev-c0eb1dfffc74d34277116842001e7677787c04cf.zip
op-kernel-dev-c0eb1dfffc74d34277116842001e7677787c04cf.tar.gz
clk: meson8b: Properly include clk.h
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>
Diffstat (limited to 'drivers/clk/meson')
-rw-r--r--drivers/clk/meson/clk-cpu.c1
-rw-r--r--drivers/clk/meson/clkc.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/meson/clk-cpu.c b/drivers/clk/meson/clk-cpu.c
index 71ad493..f7c30ea 100644
--- a/drivers/clk/meson/clk-cpu.c
+++ b/drivers/clk/meson/clk-cpu.c
@@ -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
diff --git a/drivers/clk/meson/clkc.c b/drivers/clk/meson/clkc.c
index b8c511c..c83ae13 100644
--- a/drivers/clk/meson/clkc.c
+++ b/drivers/clk/meson/clkc.c
@@ -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>
OpenPOWER on IntegriCloud