From: Mike Frysinger Date: Sun, 26 Jun 2011 16:48:52 +0000 (-0400) Subject: Blackfin: bf54x: constify pint register array X-Git-Tag: MMI-PSA29.97-13-9~18881^2~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0759a4d233107b8f693c0834d4cb917d7fb3a7d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Blackfin: bf54x: constify pint register array The array of pointers to register blocks never changes, so constify it. Signed-off-by: Mike Frysinger --- 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,