summaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk-periph.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-03-20 17:14:14 +0100
committerThierry Reding <treding@nvidia.com>2017-03-20 17:14:14 +0100
commit39133505caf993c2d61c7adc8cab753e8a0b815d (patch)
tree270488bc94c32aa9e8b7813091263c7a86b3d710 /drivers/clk/tegra/clk-periph.c
parentbea1baa1e7722c82631fa263653c1279002dd273 (diff)
downloadlinux-39133505caf993c2d61c7adc8cab753e8a0b815d.tar.bz2
clk: tegra: Fix build warnings on Tegra20/Tegra30
The recent conversion of proper const usage was only partial and didn't include Tegra20 and Tegra30 support. Fix that up. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk-periph.c')
-rw-r--r--drivers/clk/tegra/clk-periph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-periph.c b/drivers/clk/tegra/clk-periph.c
index a5a5809dce6d..cf80831de79d 100644
--- a/drivers/clk/tegra/clk-periph.c
+++ b/drivers/clk/tegra/clk-periph.c
@@ -195,7 +195,7 @@ struct clk *tegra_clk_register_periph(const char *name,
}
struct clk *tegra_clk_register_periph_nodiv(const char *name,
- const char **parent_names, int num_parents,
+ const char * const *parent_names, int num_parents,
struct tegra_clk_periph *periph, void __iomem *clk_base,
u32 offset)
{