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/sam9x60.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/sam9x60.c')
-rw-r--r-- | drivers/clk/at91/sam9x60.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c index 0979c757cc58..9790ddfa5b3c 100644 --- a/drivers/clk/at91/sam9x60.c +++ b/drivers/clk/at91/sam9x60.c @@ -21,7 +21,7 @@ static const struct clk_master_layout sam9x60_master_layout = { .offset = 0x28, }; -static struct clk_range plla_outputs[] = { +static const struct clk_range plla_outputs[] = { { .min = 300000000, .max = 600000000 }, }; @@ -31,7 +31,7 @@ static const struct clk_pll_characteristics plla_characteristics = { .output = plla_outputs, }; -static struct clk_range upll_outputs[] = { +static const struct clk_range upll_outputs[] = { { .min = 300000000, .max = 500000000 }, }; |