浏览代码

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>
Daniel Lezcano 9 年之前
父节点
当前提交
b81ea96870
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/linux/clk.h

+ 4 - 0
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. */