diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-04-25 14:15:54 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-04-25 14:16:26 -0700 |
commit | 7b4c162e03d47e037f8ee773c3e300eefb599a83 (patch) | |
tree | caa9993cc116d30c01c7c3fa3d77fddbbde388ce /drivers/clk/at91/pmc.h | |
parent | 01e2113de9a5288bee805db06a00a48295f7eaab (diff) |
clk: at91: Mark struct clk_range as const
It's just some static data that doesn't get changed after being used.
Mark it const everywhere.
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/at91/pmc.h')
-rw-r--r-- | drivers/clk/at91/pmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h index fb9e9c4cdc8d..775b77a433f5 100644 --- a/drivers/clk/at91/pmc.h +++ b/drivers/clk/at91/pmc.h @@ -66,7 +66,7 @@ extern const struct clk_pll_layout sama5d3_pll_layout; struct clk_pll_characteristics { struct clk_range input; int num_output; - struct clk_range *output; + const struct clk_range *output; u16 *icpll; u8 *out; u8 upll : 1; |