summaryrefslogtreecommitdiff
path: root/drivers/clk/sirf/clk-common.c
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 11:11:13 -0700
commitfdb94059d89aab102b4debc30e77f0b5521f8148 (patch)
tree0f0d79dac3249cb0f70b66ac2f9ab6bc92d5f4ae /drivers/clk/sirf/clk-common.c
parent6f1ed07a14a1ace5facba1e2b3995a2ef3b610cc (diff)
clk: sirf: Properly include clk.h
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>
Diffstat (limited to 'drivers/clk/sirf/clk-common.c')
-rw-r--r--drivers/clk/sirf/clk-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/sirf/clk-common.c b/drivers/clk/sirf/clk-common.c
index 9fc285d784d3..2f64d4beeb52 100644
--- a/drivers/clk/sirf/clk-common.c
+++ b/drivers/clk/sirf/clk-common.c
@@ -7,6 +7,8 @@
* Licensed under GPLv2 or later.
*/
+#include <linux/clk.h>
+
#define KHZ 1000
#define MHZ (KHZ * KHZ)