* [PATCH] clk: Export phase functions
@ 2015-01-20 21:23 Maxime Ripard
2015-01-20 23:33 ` Stephen Boyd
0 siblings, 1 reply; 3+ messages in thread
From: Maxime Ripard @ 2015-01-20 21:23 UTC (permalink / raw)
To: Mike Turquette; +Cc: Arnd Bergmann, linux-kernel, Maxime Ripard
The phase setter and getter were not exported until now, which was causing
build breakages when callers were compiled as module. Export these two
functions.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
drivers/clk/clk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index f4963b7d4e17..e188c26ce197 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -1778,6 +1778,7 @@ out_unlock:
out:
return ret;
}
+EXPORT_SYMBOL_GPL(clk_set_phase);
/**
* clk_get_phase - return the phase shift of a clock signal
@@ -1800,6 +1801,7 @@ int clk_get_phase(struct clk *clk)
out:
return ret;
}
+EXPORT_SYMBOL_GPL(clk_get_phase);
/**
* __clk_init - initialize the data structures in a struct clk
--
2.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: Export phase functions
2015-01-20 21:23 [PATCH] clk: Export phase functions Maxime Ripard
@ 2015-01-20 23:33 ` Stephen Boyd
2015-01-27 19:53 ` Mike Turquette
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2015-01-20 23:33 UTC (permalink / raw)
To: Maxime Ripard, Mike Turquette; +Cc: Arnd Bergmann, linux-kernel
On 01/20/2015 01:23 PM, Maxime Ripard wrote:
> The phase setter and getter were not exported until now, which was causing
> build breakages when callers were compiled as module. Export these two
> functions.
>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: Export phase functions
2015-01-20 23:33 ` Stephen Boyd
@ 2015-01-27 19:53 ` Mike Turquette
0 siblings, 0 replies; 3+ messages in thread
From: Mike Turquette @ 2015-01-27 19:53 UTC (permalink / raw)
To: Stephen Boyd, Maxime Ripard; +Cc: Arnd Bergmann, linux-kernel
Quoting Stephen Boyd (2015-01-20 15:33:42)
> On 01/20/2015 01:23 PM, Maxime Ripard wrote:
> > The phase setter and getter were not exported until now, which was causing
> > build breakages when callers were compiled as module. Export these two
> > functions.
> >
> > Reported-by: Arnd Bergmann <arnd@arndb.de>
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > ---
>
> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Applied to clk-next.
Regards,
Mike
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-27 19:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 21:23 [PATCH] clk: Export phase functions Maxime Ripard
2015-01-20 23:33 ` Stephen Boyd
2015-01-27 19:53 ` Mike 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).