summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/bast-irq.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2016-12-10 14:47:34 +0100
committerKrzysztof Kozlowski <krzk@kernel.org>2016-12-29 14:29:11 +0100
commitf3c7bfd738803915787bc8a6db663faa599e29f8 (patch)
tree5b1fdf9a513d1f4fe06e689b20a3295380f62ab8 /arch/arm/mach-s3c24xx/bast-irq.c
parentARM: EXYNOS: Annotate iomem and pm_data pointers __ro_after_init (diff)
downloadlinux-f3c7bfd738803915787bc8a6db663faa599e29f8.tar.xz
linux-f3c7bfd738803915787bc8a6db663faa599e29f8.zip
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/bast-irq.c')
-rw-r--r--arch/arm/mach-s3c24xx/bast-irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c24xx/bast-irq.c b/arch/arm/mach-s3c24xx/bast-irq.c
index 2bb08961e934..ad8f4cd7c327 100644
--- a/arch/arm/mach-s3c24xx/bast-irq.c
+++ b/arch/arm/mach-s3c24xx/bast-irq.c
@@ -44,7 +44,7 @@
/* table of ISA irq nos to the relevant mask... zero means
* the irq is not implemented
*/
-static unsigned char bast_pc104_irqmasks[] = {
+static const unsigned char bast_pc104_irqmasks[] = {
0, /* 0 */
0, /* 1 */
0, /* 2 */
@@ -63,7 +63,7 @@ static unsigned char bast_pc104_irqmasks[] = {
0, /* 15 */
};
-static unsigned char bast_pc104_irqs[] = { 3, 5, 7, 10 };
+static const unsigned char bast_pc104_irqs[] = { 3, 5, 7, 10 };
static void
bast_pc104_mask(struct irq_data *data)