clk: tegra: Make tegra_clk_pll_params __ro_after_init
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 2 Oct 2017 20:12:08 +0000 (01:42 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Oct 2017 14:38:42 +0000 (16:38 +0200)
commitd83b26e0f2b013d29cc1431e35eb10c85e76784a
treea7d192d255d89135160a0a7873a8304ebb7cd7ee
parentbc2e4d2986e9d2b8a99c16eb8222da2a360a581f
clk: tegra: Make tegra_clk_pll_params __ro_after_init

These structures are only passed to the functions tegra_clk_register_pll,
tegra_clk_register_pll{e/u} or tegra_periph_clk_init during the init
phase. These functions modify the structures only during the init phase
and after that the structures are never modified. Therefore, make them
__ro_after_init.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra30.c