aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/sama5d4.c
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/sama5d4.c
parentclk: at91: add sam9x60 pmc driver (diff)
downloadlinux-dev-7b4c162e03d47e037f8ee773c3e300eefb599a83.tar.xz
linux-dev-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/sama5d4.c')
-rw-r--r--drivers/clk/at91/sama5d4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/sama5d4.c b/drivers/clk/at91/sama5d4.c
index 840edca77821..25b156d4e645 100644
--- a/drivers/clk/at91/sama5d4.c
+++ b/drivers/clk/at91/sama5d4.c
@@ -16,7 +16,7 @@ static u8 plla_out[] = { 0 };
static u16 plla_icpll[] = { 0 };
-static struct clk_range plla_outputs[] = {
+static const struct clk_range plla_outputs[] = {
{ .min = 600000000, .max = 1200000000 },
};