mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 10:20:49 +07:00
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>
This commit is contained in:
parent
177cf6e52b
commit
b81ea96870
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user