summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/pmc.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-04-25 14:15:54 -0700
committerStephen Boyd <sboyd@kernel.org>2019-04-25 14:16:26 -0700
commit7b4c162e03d47e037f8ee773c3e300eefb599a83 (patch)
treecaa9993cc116d30c01c7c3fa3d77fddbbde388ce /drivers/clk/at91/pmc.h
parent01e2113de9a5288bee805db06a00a48295f7eaab (diff)
downloadlinux-7b4c162e03d47e037f8ee773c3e300eefb599a83.tar.gz
linux-7b4c162e03d47e037f8ee773c3e300eefb599a83.tar.bz2
linux-7b4c162e03d47e037f8ee773c3e300eefb599a83.zip
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.h2
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;