Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+4
+4
include/linux/clk.h
··· 461 461 return NULL; 462 462 } 463 463 464 + static inline struct clk *clk_get_sys(const char *dev_id, const char *con_id) 465 + { 466 + return NULL; 467 + } 464 468 #endif 465 469 466 470 /* clk_prepare_enable helps cases using clk_enable in non-atomic context. */