summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c24xx/iotiming-s3c2410.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2016-12-10 15:47:34 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2016-12-29 15:29:11 +0200
commitf3c7bfd738803915787bc8a6db663faa599e29f8 (patch)
tree5b1fdf9a513d1f4fe06e689b20a3295380f62ab8 /arch/arm/mach-s3c24xx/iotiming-s3c2410.c
parent731d97c236833c2179ce6fe7a5eb32c46f71df27 (diff)
ARM: s3c24xx: Constify few integer tables
These arrays are not modified so they can be made const. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/iotiming-s3c2410.c')
-rw-r--r--arch/arm/mach-s3c24xx/iotiming-s3c2410.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/iotiming-s3c2410.c b/arch/arm/mach-s3c24xx/iotiming-s3c2410.c
index 65e5f9cb650f..b7970f1fa3d5 100644
--- a/arch/arm/mach-s3c24xx/iotiming-s3c2410.c
+++ b/arch/arm/mach-s3c24xx/iotiming-s3c2410.c
@@ -249,7 +249,7 @@ static int s3c2410_calc_bank(struct s3c_cpufreq_config *cfg,
return 0;
}
-static unsigned int tacc_tab[] = {
+static const unsigned int tacc_tab[] = {
[0] = 1,
[1] = 2,
[2] = 3,