* [PATCH] clk: export __clk_round_rate for providers
@ 2014-06-03 9:40 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2014-06-03 9:40 UTC (permalink / raw)
To: Mike Turquette; +Cc: linux-kernel, linux-arm-kernel, linux-arm-msm
Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds
a use of the __clk_round_rate in a clock provided that can be built
as a loadable module.
This exports the symbol to avoid the build error from compiling
the qcom clock as a module.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mike Turquette <mturquette@linaro.org>
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 2df2b26..8b73ede 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate)
else
return clk->rate;
}
+EXPORT_SYMBOL_GPL(__clk_round_rate);
/**
* clk_round_rate - round the given rate for a clk
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] clk: export __clk_round_rate for providers
@ 2014-06-03 9:40 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2014-06-03 9:40 UTC (permalink / raw)
To: linux-arm-kernel
Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds
a use of the __clk_round_rate in a clock provided that can be built
as a loadable module.
This exports the symbol to avoid the build error from compiling
the qcom clock as a module.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mike Turquette <mturquette@linaro.org>
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 2df2b26..8b73ede 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate)
else
return clk->rate;
}
+EXPORT_SYMBOL_GPL(__clk_round_rate);
/**
* clk_round_rate - round the given rate for a clk
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: export __clk_round_rate for providers
2014-06-03 9:40 ` Arnd Bergmann
@ 2014-06-03 17:37 ` Mike Turquette
-1 siblings, 0 replies; 4+ messages in thread
From: Mike Turquette @ 2014-06-03 17:37 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-kernel, linux-arm-msm, linux-arm-kernel
Quoting Arnd Bergmann (2014-06-03 02:40:14)
> Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds
> a use of the __clk_round_rate in a clock provided that can be built
> as a loadable module.
>
> This exports the symbol to avoid the build error from compiling
> the qcom clock as a module.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Mike Turquette <mturquette@linaro.org>
Applied.
Thanks,
Mike
>
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 2df2b26..8b73ede 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate)
> else
> return clk->rate;
> }
> +EXPORT_SYMBOL_GPL(__clk_round_rate);
>
> /**
> * clk_round_rate - round the given rate for a clk
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] clk: export __clk_round_rate for providers
@ 2014-06-03 17:37 ` Mike Turquette
0 siblings, 0 replies; 4+ messages in thread
From: Mike Turquette @ 2014-06-03 17:37 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Arnd Bergmann (2014-06-03 02:40:14)
> Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds
> a use of the __clk_round_rate in a clock provided that can be built
> as a loadable module.
>
> This exports the symbol to avoid the build error from compiling
> the qcom clock as a module.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Mike Turquette <mturquette@linaro.org>
Applied.
Thanks,
Mike
>
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 2df2b26..8b73ede 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate)
> else
> return clk->rate;
> }
> +EXPORT_SYMBOL_GPL(__clk_round_rate);
>
> /**
> * clk_round_rate - round the given rate for a clk
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-03 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-03 9:40 [PATCH] clk: export __clk_round_rate for providers Arnd Bergmann
2014-06-03 9:40 ` Arnd Bergmann
2014-06-03 17:37 ` Mike Turquette
2014-06-03 17:37 ` Mike Turquette
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.