diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-04-25 23:15:54 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-04-25 23:16:26 +0200 |
commit | 7b4c162e03d47e037f8ee773c3e300eefb599a83 (patch) | |
tree | caa9993cc116d30c01c7c3fa3d77fddbbde388ce /drivers/clk/at91/at91sam9x5.c | |
parent | clk: at91: add sam9x60 pmc driver (diff) | |
download | linux-7b4c162e03d47e037f8ee773c3e300eefb599a83.tar.xz 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/at91sam9x5.c')
-rw-r--r-- | drivers/clk/at91/at91sam9x5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91sam9x5.c b/drivers/clk/at91/at91sam9x5.c index f5cfcbd85f10..0855f3a80cc7 100644 --- a/drivers/clk/at91/at91sam9x5.c +++ b/drivers/clk/at91/at91sam9x5.c @@ -17,7 +17,7 @@ static u8 plla_out[] = { 0, 1, 2, 3, 0, 1, 2, 3 }; static u16 plla_icpll[] = { 0, 0, 0, 0, 1, 1, 1, 1 }; -static struct clk_range plla_outputs[] = { +static const struct clk_range plla_outputs[] = { { .min = 745000000, .max = 800000000 }, { .min = 695000000, .max = 750000000 }, { .min = 645000000, .max = 700000000 }, |