Re: [PATCH v4 19/20] clk: tegra210: add support for Tegra210 clocks
From: Thierry Reding
Date: Thu May 07 2015 - 11:18:25 EST
On Mon, May 04, 2015 at 12:37:39PM -0400, Rhyland Klein wrote:
[...]
> diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c
[...]
> +static void __init tegra210_clock_init(struct device_node *np)
> +{
[...]
> + tegra_fixed_clk_init(tegra210_clks);
> + tegra210_pll_init(clk_base, pmc_base);
> + tegra210_periph_clk_init(clk_base, pmc_base);
> + tegra_audio_clk_init(clk_base, pmc_base, tegra210_clks,
> + tegra210_audio_plls, 2);
Should use ARRAY_SIZE() here as well.
Thierry
Attachment:
pgpi9zLKyAIM3.pgp
Description: PGP signature