Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1343590 > unrolled thread
| Started by | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| First post | 2016-02-26 00:50 +0100 |
| Last post | 2016-02-26 00:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v9 1/6] clk: hisilicon: export some hisilicon APIs to modules Stephen Boyd <sboyd@codeaurora.org> - 2016-02-26 00:50 +0100
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2016-02-26 00:50 +0100 |
| Subject | Re: [PATCH v9 1/6] clk: hisilicon: export some hisilicon APIs to modules |
| Message-ID | <r6dPs-2Ti-15@gated-at.bofh.it> |
On 02/22, Jiancheng Xue wrote:
> Change some arguments to constant type.
> Export some hisilicon APIs to modules.
>
> Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com>
> ---
> drivers/clk/hisilicon/clk.c | 23 +++++++++++++++--------
> drivers/clk/hisilicon/clk.h | 14 +++++++-------
> 2 files changed, 22 insertions(+), 15 deletions(-)
>
> diff --git a/drivers/clk/hisilicon/clk.c b/drivers/clk/hisilicon/clk.c
> index 9f8e766..06ec3fe 100644
> --- a/drivers/clk/hisilicon/clk.c
> +++ b/drivers/clk/hisilicon/clk.c
> @@ -37,7 +37,7 @@
>
> static DEFINE_SPINLOCK(hisi_clk_lock);
>
> -struct hisi_clock_data __init *hisi_clk_init(struct device_node *np,
> +struct hisi_clock_data *hisi_clk_init(struct device_node *np,
> int nr_clks)
> {
> struct hisi_clock_data *clk_data;
> @@ -71,8 +71,9 @@ err_data:
> err:
> return NULL;
> }
> +EXPORT_SYMBOL(hisi_clk_init);
Why not EXPORT_SYMBOL_GPL?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Back to top | Article view | linux.kernel
csiph-web