aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/at91/at91sam9rl.c
diff options
context:
space:
mode:
authorStephen Boyd2019-04-25 14:15:54 -0700
committerStephen Boyd2019-04-25 14:16:26 -0700
commit7b4c162e03d47e037f8ee773c3e300eefb599a83 (patch)
treecaa9993cc116d30c01c7c3fa3d77fddbbde388ce /drivers/clk/at91/at91sam9rl.c
parent01e2113de9a5288bee805db06a00a48295f7eaab (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/at91sam9rl.c')
-rw-r--r--drivers/clk/at91/at91sam9rl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91sam9rl.c b/drivers/clk/at91/at91sam9rl.c
index 5aeef68b4bdd..0ac34cdaa106 100644
--- a/drivers/clk/at91/at91sam9rl.c
+++ b/drivers/clk/at91/at91sam9rl.c
@@ -14,7 +14,7 @@ static const struct clk_master_characteristics sam9rl_mck_characteristics = {
static u8 sam9rl_plla_out[] = { 0, 2 };
-static struct clk_range sam9rl_plla_outputs[] = {
+static const struct clk_range sam9rl_plla_outputs[] = {
{ .min = 80000000, .max = 200000000 },
{ .min = 190000000, .max = 240000000 },
};