summaryrefslogtreecommitdiffstats
path: root/include/linux/clk.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-02 22:44:49 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 10:22:02 +0200
commitb81ea968706bdb5c2f2af62c5700573a32ab310a (patch)
treec8bc66489fda48e2251d9f5ca9bf1f01ad892469 /include/linux/clk.h
parent177cf6e52b0a1a382b9892d3cc9aafd6e7c5943f (diff)
downloadop-kernel-dev-b81ea968706bdb5c2f2af62c5700573a32ab310a.zip
op-kernel-dev-b81ea968706bdb5c2f2af62c5700573a32ab310a.tar.gz
clk: Add missing clk_get_sys() stub
When compiling with the COMPILE_TEST option set, the clps711x does not compile because of the clk_get_sys() noop stub missing. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Michael Turquette <mturquette@baylibre.com>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r--include/linux/clk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 0df4a51..834179f 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -461,6 +461,10 @@ static inline struct clk *clk_get_parent(struct clk *clk)
return NULL;
}
+static inline struct clk *clk_get_sys(const char *dev_id, const char *con_id)
+{
+ return NULL;
+}
#endif
/* clk_prepare_enable helps cases using clk_enable in non-atomic context. */
OpenPOWER on IntegriCloud