Re: [PATCH 4/8] clk: tegra: Fix duplicate const for parent names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 08, 2015 at 03:22:15PM +0200, Krzysztof Kozlowski wrote:
> Replace duplicated const keyword for 'emc_parent_clk_names' with proper
> array of const pointers to const strings.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
> ---
>  drivers/clk/tegra/clk-emc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This would probably better go in via the Tegra tree since the patch that
contains this has only made it to linux-next.

Stephen, Mike, any objections to me taking this?

Thierry

> diff --git a/drivers/clk/tegra/clk-emc.c b/drivers/clk/tegra/clk-emc.c
> index 615da43a508d..637798c3cc59 100644
> --- a/drivers/clk/tegra/clk-emc.c
> +++ b/drivers/clk/tegra/clk-emc.c
> @@ -45,7 +45,7 @@
>  #define CLK_SOURCE_EMC_EMC_2X_CLK_SRC(x) (((x) & CLK_SOURCE_EMC_EMC_2X_CLK_SRC_MASK) << \
>  					  CLK_SOURCE_EMC_EMC_2X_CLK_SRC_SHIFT)
>  
> -static const char const *emc_parent_clk_names[] = {
> +static const char * const emc_parent_clk_names[] = {
>  	"pll_m", "pll_c", "pll_p", "clk_m", "pll_m_ud",
>  	"pll_c2", "pll_c3", "pll_c_ud"
>  };
> -- 
> 1.9.1
> 

Attachment: pgpDH698UQKfu.pgp
Description: PGP signature


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux