diff options
| author | Daniel Lezcano <[email protected]> | 2016-06-02 22:44:49 +0200 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2016-06-28 10:22:02 +0200 |
| commit | b81ea968706bdb5c2f2af62c5700573a32ab310a (patch) | |
| tree | c8bc66489fda48e2251d9f5ca9bf1f01ad892469 /include/linux | |
| parent | 177cf6e52b0a1a382b9892d3cc9aafd6e7c5943f (diff) | |
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 <[email protected]>
Reviewed-by: Michael Turquette <[email protected]>
Diffstat (limited to 'include/linux')
| -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. */ |