Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1274580

Re: [PATCH 2/3] clk: iproc: Add support for Cygnus audio clocks

From Ray Jui <rjui@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] clk: iproc: Add support for Cygnus audio clocks
Date 2015-11-21 02:00 +0100
Message-ID <qx4GZ-6lN-3@gated-at.bofh.it> (permalink)
References <qwfl8-6tM-13@gated-at.bofh.it> <qwfl8-6tM-11@gated-at.bofh.it> <qx4dX-6bp-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 11/20/2015 4:21 PM, Stephen Boyd wrote:
> On 11/18, Ray Jui wrote:
>> diff --git a/drivers/clk/bcm/clk-iproc.h b/drivers/clk/bcm/clk-iproc.h
>> index 8988de7..e2a7748 100644
>> --- a/drivers/clk/bcm/clk-iproc.h
>> +++ b/drivers/clk/bcm/clk-iproc.h
>> @@ -194,5 +215,11 @@ void __init iproc_asiu_setup(struct device_node *node,
>>   			     const struct iproc_asiu_div *div,
>>   			     const struct iproc_asiu_gate *gate,
>>   			     unsigned int num_clks);
>> +void __init iproc_audiopll_clk_setup(struct device_node *node,
>> +				const struct iproc_pll_ctrl *pll_ctrl,
>> +				const struct iproc_pll_vco_param *vco,
>> +				unsigned int num_vco_entries,
>> +				const struct iproc_clk_ctrl *clk_ctrl,
>> +				unsigned int num_clks);
>
> We don't need __init in header files. And is this even used or
> defined anywhere?
>

Does it make more sense if I add an incremental patch to remove all of 
the __init in this header?

Ah, this is a mistake. cygnus_audiopll_clk_init is already defined in 
clk-cygnus.c and is meant to call iproc_pll_clk_setup to set up the 
clock. iproc_pll_clk_setup is already declared in this header.

iproc_audiopll_clk_setup should be removed here.

Thanks,

Ray

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/3] clk: iproc: Add support for Cygnus audio clocks Ray Jui <rjui@broadcom.com> - 2015-11-18 19:10 +0100
  Re: [PATCH 2/3] clk: iproc: Add support for Cygnus audio clocks Stephen Boyd <sboyd@codeaurora.org> - 2015-11-21 01:30 +0100
    Re: [PATCH 2/3] clk: iproc: Add support for Cygnus audio clocks Ray Jui <rjui@broadcom.com> - 2015-11-21 02:00 +0100
      Re: [PATCH 2/3] clk: iproc: Add support for Cygnus audio clocks Stephen Boyd <sboyd@codeaurora.org> - 2015-11-21 02:10 +0100

csiph-web