diff options
author | Thierry Reding <treding@nvidia.com> | 2015-11-19 16:34:06 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-11-20 18:04:04 +0100 |
commit | 385f9adf625f706ea3db80f08d723bd0dd5d1b03 (patch) | |
tree | be4f39fd4fb0a3dd9755776f4db7f9aca5b430d6 /drivers/clk/tegra/clk-tegra30.c | |
parent | 8d99704fde54cd1df08065801e9b3196d88630f1 (diff) | |
download | op-kernel-dev-385f9adf625f706ea3db80f08d723bd0dd5d1b03.zip op-kernel-dev-385f9adf625f706ea3db80f08d723bd0dd5d1b03.tar.gz |
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-tegra30.c')
-rw-r--r-- | drivers/clk/tegra/clk-tegra30.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c index a6f90b9..019a7fc 100644 --- a/drivers/clk/tegra/clk-tegra30.c +++ b/drivers/clk/tegra/clk-tegra30.c @@ -332,7 +332,7 @@ static struct tegra_clk_pll_freq_table pll_d_freq_table[] = { { 0, 0, 0, 0, 0, 0 }, }; -static struct pdiv_map pllu_p[] = { +static const struct pdiv_map pllu_p[] = { { .pdiv = 1, .hw_val = 1 }, { .pdiv = 2, .hw_val = 0 }, { .pdiv = 0, .hw_val = 0 }, |