summaryrefslogtreecommitdiff
path: root/drivers/clk/tegra/clk.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-11-19 18:34:06 +0300
committerThierry Reding <treding@nvidia.com>2015-11-20 20:04:04 +0300
commit385f9adf625f706ea3db80f08d723bd0dd5d1b03 (patch)
treebe4f39fd4fb0a3dd9755776f4db7f9aca5b430d6 /drivers/clk/tegra/clk.h
parent8d99704fde54cd1df08065801e9b3196d88630f1 (diff)
downloadlinux-385f9adf625f706ea3db80f08d723bd0dd5d1b03.tar.xz
clk: tegra: Constify pdiv-to-hw mappings
This is static data that is never modified, so make it const. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk.h')
-rw-r--r--drivers/clk/tegra/clk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk.h b/drivers/clk/tegra/clk.h
index 5d2678914160..bdaec2b01295 100644
--- a/drivers/clk/tegra/clk.h
+++ b/drivers/clk/tegra/clk.h
@@ -233,7 +233,7 @@ struct tegra_clk_pll_params {
int stepb_shift;
int lock_delay;
int max_p;
- struct pdiv_map *pdiv_tohw;
+ const struct pdiv_map *pdiv_tohw;
struct div_nmp *div_nmp;
struct tegra_clk_pll_freq_table *freq_table;
unsigned long fixed_rate;