summaryrefslogtreecommitdiff
path: root/include/linux/clk.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-02 23:44:49 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 11:22:02 +0300
commitb81ea968706bdb5c2f2af62c5700573a32ab310a (patch)
treec8bc66489fda48e2251d9f5ca9bf1f01ad892469 /include/linux/clk.h
parent177cf6e52b0a1a382b9892d3cc9aafd6e7c5943f (diff)
downloadlinux-b81ea968706bdb5c2f2af62c5700573a32ab310a.tar.xz
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 0df4a51e1a78..834179f3fa72 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. */