Thread (4 messages) 4 messages, 2 authors, 2016-06-20

Re: [PATCH 1/6] clk: Add missing clk_get_sys() stub

From: Daniel Lezcano <hidden>
Date: 2016-06-13 08:18:21
Also in: lkml

On 06/02/2016 11:41 PM, Daniel Lezcano wrote:
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 <redacted>
---
Hi,

is this patch fine ? Can I pick it through my tree ?

Thanks.

   -- Daniel

quoted hunk ↗ jump to hunk
  include/linux/clk.h | 4 ++++
  1 file changed, 4 insertions(+)
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 0df4a51..834179f 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. */

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help