diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-06-02 23:44:49 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-06-28 11:22:02 +0300 |
commit | b81ea968706bdb5c2f2af62c5700573a32ab310a (patch) | |
tree | c8bc66489fda48e2251d9f5ca9bf1f01ad892469 /include/linux/clk.h | |
parent | 177cf6e52b0a1a382b9892d3cc9aafd6e7c5943f (diff) | |
download | linux-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.h | 4 |
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. */ |