* [PATCH 1/6] clk: Add missing clk_get_sys() stub
@ 2016-06-02 21:41 Daniel Lezcano
2016-06-06 7:19 ` Daniel Lezcano
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Daniel Lezcano @ 2016-06-02 21:41 UTC (permalink / raw)
To: daniel.lezcano, tglx; +Cc: linux-kernel, Russell King, open list:CLK API
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>
---
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. */
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/6] clk: Add missing clk_get_sys() stub
2016-06-02 21:41 [PATCH 1/6] clk: Add missing clk_get_sys() stub Daniel Lezcano
@ 2016-06-06 7:19 ` Daniel Lezcano
2016-06-13 8:18 ` Daniel Lezcano
2016-06-20 21:18 ` Michael Turquette
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Lezcano @ 2016-06-06 7:19 UTC (permalink / raw)
To: tglx
Cc: linux-kernel, Russell King, open list:CLK API, mike.turquette,
Stephen Boyd
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 <daniel.lezcano@linaro.org>
Added missing Cc [Mike and Stephen]
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/6] clk: Add missing clk_get_sys() stub
2016-06-02 21:41 [PATCH 1/6] clk: Add missing clk_get_sys() stub Daniel Lezcano
2016-06-06 7:19 ` Daniel Lezcano
@ 2016-06-13 8:18 ` Daniel Lezcano
2016-06-20 21:18 ` Michael Turquette
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Lezcano @ 2016-06-13 8:18 UTC (permalink / raw)
To: tglx; +Cc: linux-kernel, Russell King, open list:CLK API, Mike Turquette
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 <daniel.lezcano@linaro.org>
> ---
Hi,
is this patch fine ? Can I pick it through my tree ?
Thanks.
-- Daniel
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/6] clk: Add missing clk_get_sys() stub
2016-06-02 21:41 [PATCH 1/6] clk: Add missing clk_get_sys() stub Daniel Lezcano
2016-06-06 7:19 ` Daniel Lezcano
2016-06-13 8:18 ` Daniel Lezcano
@ 2016-06-20 21:18 ` Michael Turquette
2 siblings, 0 replies; 4+ messages in thread
From: Michael Turquette @ 2016-06-20 21:18 UTC (permalink / raw)
To: Daniel Lezcano, daniel.lezcano, tglx
Cc: linux-kernel, Russell King, open list:CLK API
Hi Daniel,
Quoting Daniel Lezcano (2016-06-02 14:41:32)
> 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>
This looks OK to me. Russell maintains clkdev and the clk.h stuff, so it
would be good to get his ack. Please feel free to add:
Reviewed-by: Michael Turquette <mturquette@baylibre.com>
Regards,
Mike
> ---
> 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 *co=
n_id)
> +{
> + return NULL;
> +}
> #endif
> =
> /* clk_prepare_enable helps cases using clk_enable in non-atomic context=
. */
> -- =
> 1.9.1
>=20
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-20 21:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-02 21:41 [PATCH 1/6] clk: Add missing clk_get_sys() stub Daniel Lezcano
2016-06-06 7:19 ` Daniel Lezcano
2016-06-13 8:18 ` Daniel Lezcano
2016-06-20 21:18 ` Michael Turquette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).