]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0fa8d9854b83bb71054cd9a4639c678671689fd
treea7d192d255d89135160a0a7873a8304ebb7cd7ee
parent79ba1b8853e917d501af84709240db9a627b2e79
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