summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger2011-06-26 18:48:52 +0200
committerMike Frysinger2011-07-23 07:18:24 +0200
commitb0759a4d233107b8f693c0834d4cb917d7fb3a7d (patch)
treedaeb88a839547fabf8d523975d4d469e7fe66108 /arch/blackfin
parentBlackfin: gpio: punt unused GPIO_# defines (diff)
downloadkernel-qcow2-linux-b0759a4d233107b8f693c0834d4cb917d7fb3a7d.tar.gz
kernel-qcow2-linux-b0759a4d233107b8f693c0834d4cb917d7fb3a7d.tar.xz
kernel-qcow2-linux-b0759a4d233107b8f693c0834d4cb917d7fb3a7d.zip
Blackfin: bf54x: constify pint register array
The array of pointers to register blocks never changes, so constify it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index 1177369f9922..132e701cfd5f 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -660,7 +660,7 @@ struct pin_int_t {
unsigned int latch;
};
-static struct pin_int_t *pint[NR_PINT_SYS_IRQS] = {
+static struct pin_int_t * const pint[NR_PINT_SYS_IRQS] = {
(struct pin_int_t *)PINT0_MASK_SET,
(struct pin_int_t *)PINT1_MASK_SET,
(struct pin_int_t *)PINT2_MASK_SET,