commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=e071be90c66441c84114d1b8f1206e251ad0b359 branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk
The array of pointers to register blocks never changes, so constify it. Signed-off-by: Mike Frysinger <[email protected]> --- arch/blackfin/mach-common/ints-priority.c | 2 +- 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 fa6e44f..65b2b0e 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,
_______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
